mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.32k stars 32.12k forks source link

How to use "sx" prop to customize subcomponents of Mui compoents as we do previously with "classes"? #38547

Closed abforce closed 1 year ago

abforce commented 1 year ago

Is it possible for example to customize the Paper subcomponent of a Drawer using sx method? as we do in mui 4 using classes prop.

abforce commented 1 year ago

I found the solution: https://mui.com/material-ui/customization/how-to-customize/#overriding-nested-component-styles