Skip to content
Merged
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
28 changes: 28 additions & 0 deletions docs/data/material/migration/migration-v4/v5-component-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,34 @@ As the core components use Emotion as their style engine, the props used by Emot
<MuiComponent component={SomeOtherComponent} as="button" />
```

## AccordionSummary

### Rename `expandIcon` to `expandIconWrapper`

This change was made to make it clearer that the element is a wrapper around the icon, not the icon itself.

Update the CSS class name and the theme overrides accordingly.

```diff
-'.MuiAccordionSummary-expandIcon': {
+'.MuiAccordionSummary-expandIconWrapper': {
```

```diff
createTheme({
components: {
MuiAccordionSummary: {
styleOverrides: {
- expandIcon: {
+ expandIconWrapper: {
// ...
},
},
},
},
});
```

## AppBar

### Fix z-index issues
Expand Down
Loading