Card: Add story and description to highlight CardMedia
usage
#39830
Labels
[Package] Components
/packages/components
Storybook
Storybook and its stories for components
[Type] Developer Documentation
Documentation for developers
What problem does this address?
An important feature of the
CardMedia
component is that it isoverflow: hidden
, meaning that it will make its content nicely match the border-radius of its parentCard
. This can be hard to discover for a couple reasons:Card
includes a usage ofCardMedia
, but it does not show rounded corners because it's placed in the middle of the card.What is your proposed solution?
CardMedia
readme.CardMedia
, corners will be rounded to match theCard
.The text was updated successfully, but these errors were encountered: