Closed thcolin closed 3 years ago
Shouldn't we add it in our (peer?) dependencies with the corresponding minimal version?
I don't know the best practices for this kind of peer-dependencies, @material-ui/core
is a dependency from react-admin
and deprecation change was made 6 month ago on @material-ui/core@5.0.3
IMO, since we are using it directly, we should add it as a dependency too.
Also, is createTheme
available in MUI 4? We shouldn't drop the compatibility for MUI 4.
Yes, createTheme
is available in MUI 4:
https://github.com/mui-org/material-ui/blob/v4.12.3/packages/material-ui/src/styles/createTheme.js
Thanks!
Fix MUI warning on
@api-platform/admin
app launch aboutcreateMuiTheme
usage: