Material UI v6: update the Grid2 props
ProprietaryRenames the props of Grid2 to the v2 API: xs={6} to size={{ xs: 6 }} and offset. Ported from the MUI codemod v6.0.0/grid-v2-props.
org. openrewrite. react. mui. v6. grid-v2-propsmod run . --recipe= org. openrewrite. react. mui. v6. grid-v2-propsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.