The TablePagination component does not use the clsx function to merge the classes.root and the className property.
Current Behavior 😯
This leads to classes.root being discarded and replaced by className when both are supplied.
Expected Behavior 🤔
The clsx application should probably be used like in other components like TableBody, TableCell, etc.
Steps to Reproduce 🕹
In the following example, you may look at the console html and see that the classes are missing on the MuiTablePagination-root div.
https://codesandbox.io/s/create-react-app-8ho0q
Your Environment 🌎
| Tech |
Version |
| Material-UI |
v4.4.0 |
| React |
16.9.0 |
| Chrome |
76.0.3809 |
The TablePagination component does not use the clsx function to merge the classes.root and the className property.
Current Behavior 😯
This leads to classes.root being discarded and replaced by className when both are supplied.
Expected Behavior 🤔
The clsx application should probably be used like in other components like TableBody, TableCell, etc.
Steps to Reproduce 🕹
In the following example, you may look at the console html and see that the classes are missing on the MuiTablePagination-root div.
https://codesandbox.io/s/create-react-app-8ho0q
Your Environment 🌎