-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[material-ui][Alert] Deprecate components and componentsProps props #40681
Conversation
Netlify deploy preview@material-ui/lab: parsed: +0.22% , gzip: -0.47% 😍 Bundle size reportDetails of bundle changes (Toolpad) |
Hey @siriwatknp! I updated this PR. I added the codemods and migration guide. For the codemods, I created a |
}, | ||
skip: [ | ||
'componentsProp', | ||
'slotPropsCallback', // not supported yet |
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.
👍
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.
👏 Awesome
Deprecate
components
andcomponentsProps
props in favor ofslots
andslotProps
respectively.I wondered whether to deprecate
action
,icon
, andiconMappings
as well, but I'm not so sure, and it would be a bigger change, so I created a separate issue to discuss it eventually: #40680