Text component
A Text component
Install
npm i @wethecurious/wtc-ui-library
Usage
Import it into your project
import { Text } from '@wethecurious/wtc-ui-library'
<Text>Test text</Text>
Props
Prop | Description | Default |
---|---|---|
type | Text Type | |
variant | Text Variant - label , body , subheader | 10 |
weight | Text Weight - label , body , subheader | 10 |