You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
ColorPicker does not allow to apply translations (e.g. the 'SET' button) when using TypeScript
To Reproduce
Add <ColorPicker /> component to a TypeScript React Component (with .tsx extension) . Between all the allowed properties translate is not visible.
Thanks @kgmv, In fact it is a typo in ColorPicker story, you don't need to pass translate as parameter. It is a function passed to useTranslate hook used internally by ColorPicker.
Describe the bug
ColorPicker does not allow to apply translations (e.g. the 'SET' button) when using TypeScript
To Reproduce
Add
<ColorPicker />
component to a TypeScript React Component (with.tsx
extension) . Between all the allowed propertiestranslate
is not visible.Expected behaviour
translate
should be available to allow translating the control as in the Localization example of the docs:https://mikbry.github.io/material-ui-color/?id=components-colorpicker--localization&viewMode=docs
Screenshots
The text was updated successfully, but these errors were encountered: