Components
Text
A primitive component that can be used to create all kinds of text styles.
Basic usage
First, import the component.
import {Text} from '@pleo-io/telescope'
Then use it, like so:
API reference
The component accepts the following props.
Prop | Type | Default |
---|---|---|
align | enum | |
as | any | |
color | enum | |
italic | boolean | |
maxLines | number | |
skeleton | boolean | false |
space | enum | |
truncate | boolean | |
uppercase | boolean | |
variant | enum | |
weight | enum |
On this page