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

[pickers] Remove deprecated components and componentsProps props #10335

Closed
4 tasks
Tracked by #7902
flaviendelangle opened this issue Sep 14, 2023 · 0 comments · Fixed by #10700
Closed
4 tasks
Tracked by #7902

[pickers] Remove deprecated components and componentsProps props #10335

flaviendelangle opened this issue Sep 14, 2023 · 0 comments · Fixed by #10700
Labels
breaking change component: pickers This is the name of the generic UI component, not the React module! v7.x

Comments

@flaviendelangle
Copy link
Member

flaviendelangle commented Sep 14, 2023

Following the conventions being followed across MUI products, MUI X deprecated components and componentsProps to replace slots and slotProps.

In v7, these deprecated props should be removed. Here are the action items needed to be taken for completing this breaking change:

  • Remove the capital 1st letter of all the slots
  • Stop using UncapitalizeObjectKeys for all the slots props
  • Remove the components and componentsProps on all pickers
  • Make codemod for components -> slots conversion part of preset-safe.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change component: pickers This is the name of the generic UI component, not the React module! v7.x
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant