Skip to content
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

[Card] Use the default elevation #24733

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented Jan 31, 2021

#24667 introduces a warning when using a card outlined. I have added a test to catch the issue as well as fixed the default prop logic. Now, developers, when changing the default elevation of the Paper, don't need to customize the Card too.

Capture d’écran 2021-01-31 à 18 39 05

http://0.0.0.0:3000/components/cards/

@mui-pr-bot
Copy link

mui-pr-bot commented Jan 31, 2021

Details of bundle changes

Generated by 🚫 dangerJS against 684b190

@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work component: card This is the name of the generic UI component, not the React module! labels Jan 31, 2021
Copy link
Member

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👌

@oliviertassinari oliviertassinari merged commit 934f4ea into mui:next Feb 1, 2021
@oliviertassinari oliviertassinari deleted the card-warning branch February 1, 2021 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work component: card This is the name of the generic UI component, not the React module!
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants