0.1.1 • Published 3 years ago
@labrnth/text v0.1.1
@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. |