Does anyone know how to globally override the shrinking of the label with a Material-UI Textfield (or Input if I need to use this)?
I dont want to add this everywhere:
...
InputLabelProps={{
shrink: true,
}}
but I cant seem to figure out the correct override in createMuiTheme.
I have tried adding shrink: true here
overrides: {
MuiInput: { ...
and here
overrides: {
MuiInputLabel: { ...
But I cant get it working.
If someone could point my to the docs/code to where they figured this out too, that would be awesome!
Thanks