...
Code Block | ||
---|---|---|
| ||
MuiButton: { styleOverrides: { root: { backgroundColor: "purple" } } } |
One-off customisations and components
For one-off customisations (e.g. setting one button to be pink) the sx prop should be used. The sx prop is just like using style
, and can be used with any Material UI component.
...