Material UI v5: mark the theme for type augmentation
ProprietaryMarks the imports of ThemeProvider, which needs a DefaultTheme augmentation in TypeScript. Ported from the MUI codemod v5.0.0/theme-augment.
org. openrewrite. react. mui. v5. theme-augmentmod run . --recipe= org. openrewrite. react. mui. v5. theme-augmentInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.