Material UI v5: move the transition callbacks into TransitionProps

Proprietary

Moves onEnter, onEntered, onEntering, onExit, onExited and onExiting of Dialog, Menu, Popover and Snackbar into their TransitionProps. Ported from the MUI codemod v5.0.0/use-transitionprops.

org.openrewrite.react.mui.v5.use-transitionprops
mod run . --recipe=org.openrewrite.react.mui.v5.use-transitionprops

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