overriding styling for single component instead of all in material ui code example
Example: how to override material ui css
You can use these methods for overriding CSS/styling in Material UI:
1) StylesProvider
2) ThemeProvider
2) withStyles
4) useStyles
Refer to this site for more informaiton:
https://blog.bitsrc.io/4-ways-to-override-material-ui-styles-43aee2348ded