Comments (3)
Same problem with me
from material-ui.
This error occurs for
ThemeProvider
,styled
,useTheme
, and several other imports I believe
The error occurs for ThemeProvider
, styled
, useTheme
, and other similar imports because they need to be imported from @mui/material/styles
because they are available under styles
folder. These are transformed to @mui/material/styles/ThemeProvider
, etc., while other components like Button
are correctly transformed by the Babel plugin i.e import { Button } from '@mui/material'
gets transformed to import Button from '@mui/material/Button'
.
from material-ui.
This issue has been closed. If you have a similar problem but not exactly the same, please open a new issue.
Now, if you have additional information related to this issue or things that could help future readers, feel free to leave a comment.
Note
We value your feedback @RonSmithRX! How was your experience with our support team?
If you could spare a moment, we'd love to hear your thoughts in this brief Support Satisfaction survey. Your insights help us improve!
from material-ui.
Related Issues (20)
- [docs] Typo in the docs HOT 4
- [material-ui][Dialog] Scroll not working in full-screen dialog HOT 2
- [Error] Incorrect Import of PropTypes Causes Compilation Error HOT 17
- [material-ui] I need that disabling hover on Button HOT 1
- search in Autocomplete HOT 1
- Nested grids for v2 are not behaving the same as in v1 HOT 1
- MuiAutocomplete component- getOptionLabel and aria-label needs to be different, could not able to achieve it HOT 3
- [pigment] Exception when using exported class names from MUI HOT 3
- [docs] MUI-X pages give 404 in v5 docs HOT 2
- [pigment-css][material-ui] Grid throws an error HOT 2
- [material-ui][Dialog] Compatibility between MUI's dialogs and React Hook Form with FormProvider
- [docs] Outdated version entry should be cleaned up and removed from version table
- [Dialog] Providing onKeyDown breaks closing via Escape HOT 3
- [material-ui] Button `color="inherit"` prop regression for `variant="contained"`
- [docs] Google Font use is not best practice
- Slide component throws error in Pigment project
- [Grid] Compatible props are no longer warned about in v2 HOT 1
- [docs] useStyles support HOT 1
- [examples] Update examples to use CSS variables HOT 1
- [Autocomplete] A prop is passed containing the `key` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from material-ui.