@labrnth/text
v0.1.1
Published
A text component.
Downloads
6
Readme
@labrnth/text
A text component.
Installation
yarn add @labrnth/text
Usage
import Text from '@labrnth/text';
<Text />
Props
| Prop | Type | Default | Description |
| ---------- | ------------------------------------------------------ | ----------- | ------------------------------------- |
| children | React.ReactNode
| | The contents of the text. |
| component? | React.ElementType
| | The underlying component of the text. |
| variant? | uppercase
, paragraph
, subtitle
, title
, small
| paragraph
| The styled variant of the text. |