Alias for the primary
prop.
If true
, the children won’t be wrapped by a Typography component.
This can be useful to render an alternative Typography variant by wrapping
the children
(or primary
) text, and optional secondary
text
with the Typography component.
If true
, the children will be indented.
This should be used if there is no left avatar or left icon.
The main content element.
These props will be forwarded to the primary typography component
(as long as disableTypography is not true
).
The secondary content element.
These props will be forwarded to the secondary typography component
(as long as disableTypography is not true
).
Name | Type | Description |
---|---|---|
children | node | Alias for the |
classes | object | Override or extend the styles applied to the component. See CSS API below for more details. |
className | string | |
disableTypography | bool | If |
inset | bool | If |
primary | node | The main content element. |
primaryTypographyProps | object | These props will be forwarded to the primary typography component
(as long as disableTypography is not |
secondary | node | The secondary content element. |
secondaryTypographyProps | object | These props will be forwarded to the secondary typography component
(as long as disableTypography is not |