-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[CardHeader] Deprecate *TypographyProps
and complete slots
, slotProps
#44729
Conversation
titleTypographyProps
and subheaderTypographyProps
*TypographyProps
and complete slots
, slotProps
Netlify deploy previewCardHeader: parsed: +3.28% , gzip: +2.80% Bundle size reportDetails of bundle changes (Toolpad) |
…ecation/card-header
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the delay
Seems like we're missing the migration guide section |
@@ -80,13 +80,14 @@ const CardHeader = React.forwardRef(function CardHeader(inProps, ref) { | |||
const { | |||
action, | |||
avatar, | |||
className, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
useSlot
already handle the className
for root slot.
Confirmed by testClassName
in describeConformance()
suite.
Thanks for pointing out, added to the migration guide. |
Part of #41281
close #37585