Upgrade the props of Grid to size and offset
ProprietaryMoves the breakpoint props of the responsive Grid, xs={12} and xsOffset={2}, into its size and offset props, and removes item and zeroMinWidth. Tags with a spread attribute are left alone.
org. openrewrite. react. mui. upgrade-grid-propsRequired
The Grid component, Grid or Grid2.
Optional
The breakpoints of the theme, separated by commas.
A package that re-exports Material UI.
mod run . --recipe= org. openrewrite. react. mui. upgrade-grid-props \
-P componentName= GridInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.