In Material UI v4 I can find out which styles is applied by component props classname through browser dev tools. This makes easier for me to be able to override the spesific styles of the component. But in Material UI v5 I Didnt know which classname styles is applied browser dev tools. How can I know applied classname styles, like .MuiButton-contained in Material UI v5 ?
Button variant="contained" in Material UI v4
Button variant="contained" in Material UI V5
All styles are applied to .MuiButtonBase-root-Mui-Button-root
@mui/stylesis the legacy styling solution for MUI. It is deprecated in v5. It depends on JSS as a styling solution, which is not used in the@mui/materialanymore.
Use the sx prop instead.