[badge] Remove deprecated props by silviuaavram · Pull Request #47993 · mui/material-ui (original) (raw)

Pull request overview

Removes the deprecated components / componentsProps API from Material UI’s Badge and updates the surrounding type definitions, tests, and docs to reflect the v9-only slots / slotProps API.

Changes:

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file

File Description
packages/mui-material/src/Badge/Badge.js Removes deprecated components / componentsProps support and PropTypes entries.
packages/mui-material/src/Badge/Badge.d.ts Removes deprecated components / componentsProps from TypeScript surface area.
packages/mui-material/src/Badge/Badge.test.js Drops deprecated-prop coverage, keeps slots / slotProps coverage.
docs/translations/api-docs/badge/badge.json Removes deprecated props from translated API docs.
docs/pages/material-ui/api/badge.json Removes deprecated props from API docs payload.
docs/data/material/migration/upgrade-to-v9/upgrade-to-v9.md Adds v9 migration note and codemod reference for Badge prop removals.