Replace components and componentsProps with slots
ProprietaryRenames the deprecated components and componentsProps props of a Material UI component to slots and slotProps, with camelCase slot names. Tags that already set the new prop are left alone.
org. openrewrite. react. mui. replace-components-with-slotsRequired
The Material UI component.
Optional
A package that re-exports Material UI.
mod run . --recipe= org. openrewrite. react. mui. replace-components-with-slots \
-P componentName= AlertInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.