🗂️Surfaces
Changelog
Accordion
Breaking changes
contentprop has been removed
New features
new
variantprop which allows you to choose between standard and filled contentnew
titleanddetailsprops
Card
Breaking changes
content is now wrapped in CardContent component which adds a padding to it; to not render CardContent, use the
disablePaddingprop
Fixes
fixed the gradient background color for colored cards
New features
new
variantprop which allows you to choose betweenstandardandfilledheadernew props:
actions,title,subheader,headerProps,footer,footerProps,mediaPropsallow you to include CardHeader, CardMedia and CardActions in your cardin the new
mediaPropsyou can still set thesizeproperty for some default sizesnote: caller must specify
heightotherwise the image will not be visible.
CardHeader (old CardTitle)
Breaking changes
subtitleprop is now calledsubheader
New features
new
variantprop which allows you to choose betweenstandardandfilledheader
CollapseCard
new component that can receive an
iconor notslightly changed styles compared to the old
IconCollapseCard(which has been removed)
IconCollapseCard
component has been removed; use
CollapseCardwithiconprop instead.in the new
CollapseCard,summaryprop has been replace withsubheader.
Last updated