@roo-ui/components
Version:
41 lines (29 loc) • 766 B
Markdown
# Text
<!-- STORY -->
## Installation
```shell
$ yarn add @roo-ui/components
```
## Example
```js
import { Text } from '@roo-ui/components';
export default (
<Text>Generic Text</Text>
);
```
## Properties
| Name | Description | Type | Default | Required? |
|:---------|:--------------|:----------|:--------|:----------|
| `hidden` | visually hide | `boolean` | false | - |
## Customization
This component can be customized with [styled-system](https://github.com/jxnblk/styled-system) by passing props for
`textStyle`,
`color`,
`fontSize`,
`fontWeight`,
`letterSpacing`,
`lineHeight`,
`space`,
`textDecoration`,
`display` &
`textAlign` [functions](https://github.com/jxnblk/styled-system/blob/v2.2.5/README.md#table-of-style-props)