Skip to content
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][Modal] Add migration guide and codemod for deprecated props #45021

Merged
merged 4 commits into from
Jan 15, 2025

Conversation

sai6855
Copy link
Contributor

@sai6855 sai6855 commented Jan 14, 2025

part of #41281

BackdropComponent and BackdropProps are already deprecated, this PR just adds migration guide and codemod

* @deprecated Use `slots.backdrop` instead. While this prop currently works, it will be removed in the next major version.

* @deprecated Use `slotProps.backdrop` instead.

@sai6855 sai6855 added component: modal This is the name of the generic UI component, not the React module! deprecation New deprecation message package: material-ui Specific to @mui/material labels Jan 14, 2025
@sai6855 sai6855 changed the title [material-ui][Modal] add migration guide and codemod [material-ui][Modal] Add migration guide and codemod Jan 14, 2025
@mui-bot
Copy link

mui-bot commented Jan 14, 2025

@sai6855 sai6855 requested a review from siriwatknp January 14, 2025 07:18
@sai6855 sai6855 changed the title [material-ui][Modal] Add migration guide and codemod [material-ui][Modal] Add migration guide and codemod for deprecated props Jan 14, 2025
Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sai6855 sai6855 merged commit 767c2a4 into mui:master Jan 15, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: modal This is the name of the generic UI component, not the React module! deprecation New deprecation message package: material-ui Specific to @mui/material
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants