Material UI v5: mark the theme provider for StyledEngineProvider
ProprietaryMarks the imports of ThemeProvider, which has to be wrapped in StyledEngineProvider injectFirst to keep the order of the styles. Ported from the MUI codemod v5.0.0/styled-engine-provider.
org. openrewrite. react. mui. v5. styled-engine-providermod run . --recipe= org. openrewrite. react. mui. v5. styled-engine-providerInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.