You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I would like to modify the appearance of my application using Material UI theme. For some rules, I'd like to use "overrides" key on React-Admin components, but it doesn't work. For instance, the Layout subcomponents appearance.
Describe the solution you'd like
I'd like the React-Admin components styles to be named when withStyles or makeStyles are used, like Material UI are naming their components with the second argument of withstyles/makeStyles.
Describe alternatives you've considered
Material UI tries to use Component.displayName when no style name is found, but none of the components on which makesStyles/withStyles was called seemed to have a displayName when breaking in makeStyles function.
The text was updated successfully, but these errors were encountered:
What you ask is an enhancement, so if we ever implement it, it'll be in the next branch, using material-ui v4. This implies that every time we use makeStyles, we pass an options parameter:
The react-admin core team won't work on that feature for the near future as we don't need it. Feel free to provide a PR if you want it to happen. If this issue receives no community contribution, it will be closed within a few months.
Is your feature request related to a problem? Please describe.
I would like to modify the appearance of my application using Material UI theme. For some rules, I'd like to use "overrides" key on React-Admin components, but it doesn't work. For instance, the Layout subcomponents appearance.
Describe the solution you'd like
I'd like the React-Admin components styles to be named when withStyles or makeStyles are used, like Material UI are naming their components with the second argument of withstyles/makeStyles.
Describe alternatives you've considered
Material UI tries to use Component.displayName when no style name is found, but none of the components on which makesStyles/withStyles was called seemed to have a displayName when breaking in makeStyles function.
The text was updated successfully, but these errors were encountered: