-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mui.themeProvider has incorrect import statement #28
Comments
What? I was certain I tested it. Did they change something again? (Related: #27) I'll have a look at it. |
mui/material-ui#17900 (comment) says
Do you know where this |
Nevermind, I found it: https://material-ui.com/styles/api/#themeprovider The correct import would be: import "ThemeProvider" "@material-ui/core/styles" My mistake. I'll fix it. |
Will be released shortly as 0.8.1. |
Ah, didn't know they were making that change. Thanks! |
Import statement was still broken in 0.8.1, releasing fix in 0.8.2. |
Mui.themeProvider is currently not functioning, as it fails to import.
The generated code is here
The relevant section of their export in the index.d.ts file:
Returns this error when compiling:
The text was updated successfully, but these errors were encountered: