@labrnth/heading
v0.1.6
Published
A heading component.
Readme
@labrnth/heading
A heading component.
Installation
yarn add @labrnth/headingUsage
import Heading from `@labrnth/heading`;
<Heading />Props
| Prop | Type | Default | Description |
| ---------- | ------------------------------------------------------------------------- | ------- | ------------------------------------------ |
| children | React.ReactNode | | The contents of the heading. |
| component? | h1, h2, h3, h4, h5, h6, div, label, span, header, p | h1 | The underlying component of the heading. |
| variant? | h1, h2, h3, h4, h5, h6, div, label, span, header, p | | The style variant to apply to the heading. |
