-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
Closed
Description
Part of #40417
Description
Deprecate components and componentsProps props, which are planned for removal in v7.
- These are deprecated in favor of the slot pattern:
slotsandslotProps - If the
slotsorslotPropsprops do not exist:- They must be implemented in the same PR in which the deprecation is added
- They should have the same type as the deprecated prop
- The PR introducing the deprecation must also add:
- A section in the migration guide
- A codemod
Example PR
Contributing
Feel free to take any components that still need to be done or in progress. Please mention this issue in your PR so we can link it in the description and keep it up to date.
Components to migrate
- Alert: #40681
- Autocomplete: #42179
- AvatarGroup: #42122
- Backdrop: #42468
- Badge: #41655
- FilledInput: #42093
- FormControlLabel: #41767
- Input: #42093
- InputBase: #42093
- ListItem #42219
- Modal: #42469
- OutlinedInput: #42093
- PaginationItem: #41777
- Popper: #42111
- Slider: #40777
- StepLabel: #41321
- Tooltip: #42107
Search keywords: deprecation components componentsProps material-ui
Metadata
Metadata
Assignees
Labels
deprecationNew deprecation message.New deprecation message.
Projects
Status
Done