Warning: Failed prop type: Material-UI: This elevation `4` is not implemented
See original GitHub issueI implemented the Permanent Drawer from the demo on Material UI’s website, but both the Drawer and AppBar give this warning in the console.
- The issue is present in the latest release.
- I have searched the issues of this repository and believe that this is not a duplicate.
Current Behavior 😯
PropType errors
Expected Behavior 🤔
Should not see a propType Error
Steps to Reproduce 🕹
Steps:
Context 🔦
Your Environment 🌎
`npx @material-ui/envinfo`
Don't forget to mention which browser you used.
Output from `npx @material-ui/envinfo` goes here.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Warning: Failed prop type: Material-UI: This elevation `4` is not ...
I implemented the Permanent Drawer from the demo on Material UI's website, but both the Drawer and AppBar give this warning in the...
Read more >Failed proptype classes material-ui - reactjs - Stack Overflow
I have this warning in my console:index. js:2178 Warning: Failed prop type: The prop classes is marked as required in WithStyles(Grid) , but ......
Read more >Migration from v3 to v4 - Material UI - MUI
This is a reference for upgrading your site from Material UI v3 to v4. ... Normalized value prop type for input components to...
Read more >Breaking changes in v5, part two: core components - Material UI
Stepper no longer has elevation, and it does not inherit props from Paper anymore. This change is meant to encourage composition. +<Paper square...
Read more >Dialog API - Material UI - MUI
API reference docs for the React Dialog component. Learn about the props, CSS, and other APIs of this exported module.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Maybe you wrote
elevation="4"
instead ofelevation={4}
, providing a string instead of a number. I have no idea, we can’t debug it if we can’ reproduce it.In AppBar, write
<AppBar elevation={0} />
. It works for me.