Material UI v5: rename Collapse's collapsedHeight

Proprietary

Renames collapsedHeight to collapsedSize and the container class to root. Ported from the MUI codemod v5.0.0/collapse-rename-collapsedheight.

org.openrewrite.react.mui.v5.collapse-rename-collapsedheight
mod run . --recipe=org.openrewrite.react.mui.v5.collapse-rename-collapsedheight

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.