-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Menu] Deprecate *Props and complete slots
, slotProps
#44913
base: master
Are you sure you want to change the base?
Conversation
Netlify deploy previewBundle size reportDetails of bundle changes (Toolpad) |
* [Follow this guide](https://mui.com/material-ui/transitions/#transitioncomponent-prop) to learn more about the requirements for this component. | ||
* @default Grow | ||
*/ | ||
TransitionComponent: PropTypes.elementType, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we adding this one? slots.transition
should be used instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's because I move TransitionComponent
to the the props, let me find other way.
Part of #41281
MenuListProps
andTransitionProps
.slots.transition
andslots.list