You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/src/pages/guides/migration-v4/migration-v4.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -598,6 +598,16 @@ You can use the [`moved-lab-modules` codemod](https://github.com/mui-org/materia
598
598
599
599
You can use the [`button-color-prop` codemod](https://github.com/mui-org/material-ui/tree/HEAD/packages/material-ui-codemod#button-color-prop) for automatic migration.
600
600
601
+
-`span` element that wraps children has been removed. `label` classKey is also removed.
602
+
603
+
```diff
604
+
<button class="MuiButton-root">
605
+
- <span class="MuiButton-label">
606
+
children
607
+
- </span>
608
+
</button>
609
+
```
610
+
601
611
### Chip
602
612
603
613
- Rename `default` variant to `filled` for consistency.
0 commit comments