Open szado opened 3 years ago
ColorButton and ColorInput passes extra props to Material-Ui sub-components Button and Input. But yes if you use Typescript they don't extends from Material-Ui sub-components
+1 For this, having the option to port params to the underlying <TextField/>
control from mui
in the <ColorPicker/>
would also be awesome! I'm using the outlined
variants for all of my controls, and since I can't configure it for the <ColorPicker/>
I'll have to resource to either building it myself using the other components in the library or overriding css, neither is very appealing for a solution which could just support many of the configurations of mui
.
Is your feature request related to a problem? Please describe. It would be usefull if passing your own properties to eg. material-ui Button (for ColorButton) was possible, like it is for built in library components. Example:
<TextField InputLabelProps={{ shrink: true }} />
(InputLabelProps
) from material-ui docs (https://material-ui.com/components/text-fields/#shrink).Currently it's not possible to disable ColorButton or add css class to it.