Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docs/data/material/migration/upgrade-to-v7/upgrade-to-v7.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,3 +282,15 @@ The default `data-testid` prop has been removed from the icons in `@mui/icons-ma
### Removal of `MuiRating-readOnly` class from Rating

Class name `MuiRating-readOnly` was removed in favor of `Mui-readOnly` global class.

### StepButtonIcon type removed

The deprecated `StepButtonIcon` type has been removed. Use `StepButtonProps['icon']` instead.

```diff
- import { StepButtonIcon } from '@mui/material/StepButton';
+ import { StepButtonProps } from '@mui/material/StepButton';

-StepButtonIcon
+StepButtonProps['icon']
```
5 changes: 0 additions & 5 deletions packages/mui-material/src/StepButton/StepButton.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ import { OverrideProps } from '../OverridableComponent';
import { Theme } from '../styles';
import { StepButtonClasses } from './stepButtonClasses';

/**
* @deprecated use `StepButtonProps['icon']` instead.
*/
export type StepButtonIcon = React.ReactNode;

export interface StepButtonOwnProps {
/**
* Can be a `StepLabel` or a node to place inside `StepLabel` as children.
Expand Down