Material UI v5: import from @material-ui/core/styles
ProprietaryMoves the imports of @material-ui/core/styles/<module> to @material-ui/core/styles, as the optimal-imports mode does for the paths of @material-ui/core. Ported from the MUI codemod v5.0.0/core-styles-import.
org. openrewrite. react. mui. v5. core-styles-importmod run . --recipe= org. openrewrite. react. mui. v5. core-styles-importInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.