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
+12Lines changed: 12 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1834,3 +1834,15 @@ If you are using the utilities from `@material-ui/styles` together with the `@ma
1834
1834
-import { ThemeProvider } from '@material-ui/styles';
1835
1835
+import { ThemeProvider } from '@material-ui/core/styles';
1836
1836
```
1837
+
1838
+
#### Default theme (TypeScript)
1839
+
1840
+
The `@material-ui/styles` package is no longer part of `@material-ui/core/styles`. If you are using `@material-ui/styles` together with `@material-ui/core` you need to add a module augmentation for the `DefaultTheme`.
0 commit comments