Having trouble figuring out how to override CSS for the child component MenuItem within TablePagination? Check out this link for more information: https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/TablePagination/TablePagination.js
This is how I am using the component:
<TablePagination
colSpan={2}
count={2}
rowsPerPage={2}
classes={{
root: classes.root, caption: classes.caption
}} />
I'm struggling to pass styles to the MenuItem. Any suggestions?
It appears that a new version of material-ui has addressed this issue. You can find more details here: https://github.com/mui-org/material-ui/pull/11200/files. But what should I do if I cannot upgrade?
Thank you!