Components
List
A set of text objects in a bulleted or numbered format.
Basic usage
First, import the components.
import {List, ListItem} from '@pleo-io/telescope'
Then use them, like so.
API reference
The component accepts the following props.
Prop | Type | Default |
---|---|---|
as | 'ol' | 'ul' | ul |
listStyle | enum | none |
ListItem
This component doesn't accept any custom props.
ListIcon
Prop | Type | Default |
---|---|---|
color | string | `tokens.colorContentStatic` |
size | enum | 14 |
This component also accepts the following styled system props:
Prop | Type | Default |
---|---|---|
m | enum | |
margin | enum | |
marginBottom | enum | |
marginLeft | enum | |
marginRight | enum | |
marginTop | enum | |
marginX | enum | |
marginY | enum | |
mb | enum | |
ml | enum | |
mr | enum | |
mt | enum | |
mx | enum | |
my | enum |
On this page