Props
interface HeadingProps extends AllStylesProps, AriaProps
as | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" The element that is rendered. Defaults to |
children | React.ReactNode | string The contents of the heading. |
className | undefined | string Additional class names to apply, separated by spaces. |
dataAttributes | DataAttributesProp Data attributes that are spread onto the element, e.g. |
id | undefined | string The |
role | undefined | string The |
size | HeadingSizeProp The size of the heading. Defaults to |
style | React.CSSProperties Additional styles. |
variant | HeadingVariant The variant of the heading. Defaults to |