Material UI v5: wrap the theme in adaptV4Theme

Proprietary

Wraps the options of createTheme in adaptV4Theme(). Ported from the MUI codemod v5.0.0/adapter-v4.

org.openrewrite.react.mui.v5.adapter-v4
mod run . --recipe=org.openrewrite.react.mui.v5.adapter-v4

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