Skip to content

[material-ui] Deprecate components and componentsProps props #41279

@DiegoAndai

Description

@DiegoAndai

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: slots and slotProps
  • If the slots or slotProps props 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:

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

Search keywords: deprecation components componentsProps material-ui

Metadata

Metadata

Assignees

Labels

deprecationNew deprecation message.

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions