Surfaces
Changelog
Accordion
Breaking changes
content
prop has been removed
New features
new
variant
prop which allows you to choose between standard and filled contentnew
title
anddetails
props
Card
Breaking changes
content is now wrapped in CardContent component which adds a padding to it; to not render CardContent, use the
disablePadding
prop
Fixes
fixed the gradient background color for colored cards
New features
new
variant
prop which allows you to choose betweenstandard
andfilled
headernew props:
actions
,title
,subheader
,headerProps
,footer
,footerProps
,mediaProps
allow you to include CardHeader, CardMedia and CardActions in your cardin the new
mediaProps
you can still set thesize
property for some default sizesnote: caller must specify
height
otherwise the image will not be visible.
CardHeader (old CardTitle)
Breaking changes
subtitle
prop is now calledsubheader
New features
new
variant
prop which allows you to choose betweenstandard
andfilled
header
CollapseCard
new component that can receive an
icon
or notslightly changed styles compared to the old
IconCollapseCard
(which has been removed)
IconCollapseCard
component has been removed; use
CollapseCard
withicon
prop instead.in the new
CollapseCard
,summary
prop has been replace withsubheader
.
Last updated