Closed chenop closed 4 years ago
👋 Thanks for using Material-UI!
We use GitHub issues exclusively as a bug and feature requests tracker, however, this issue appears to be a support request.
For support, please check out https://material-ui.com/getting-started/support/. Thanks!
If you have a question on StackOverflow, you are welcome to link to it here, it might help others. If your issue is subsequently confirmed as a bug, and the report follows the issue template, it can be reopened.
babel-plugin-react-css-modules with rtl app - I thought to use injectFirst but then I get a warning:
Material-UI: you cannot use the jss and injectFirst props at the same time.
My guess is that I should define differently the jss so it would support rtl and css modules.
// Configure JSS const jss = create({ plugins: [...jssPreset().plugins, rtl()] }); // How should I add here the css-modules styles
Current Behavior 😯
for rtl I should do:
for css-modules styles I should do:
Cant combine both AFAIK.
Expected Behavior 🤔
Please advice how can I do both