-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Closed
Labels
scope: typographyChanges related to typography.Changes related to typography.support: Stack OverflowPlease ask the community on Stack Overflow.Please ask the community on Stack Overflow.
Description
Both defaultHeadlineMapping variants body1 and body2 - p (paragraph) tag. Other variants are block-types too (h1-h6) and no one inline/inline-block.
I can do this by
component={(props) => {
return <span
{...props}
/>
}}
or
variant="body2"
headlineMapping={{
body2: 'span',
}}
But it's not useful.
Metadata
Metadata
Assignees
Labels
scope: typographyChanges related to typography.Changes related to typography.support: Stack OverflowPlease ask the community on Stack Overflow.Please ask the community on Stack Overflow.