@roo-ui/components
Version:
24 lines (15 loc) • 576 B
Markdown
# Truncate
<!-- STORY -->
## Installation
```shell
$ yarn add @roo-ui/components
```
## Example
```js
import { Truncate } from '@roo-ui/components';
export default (
<Truncate>Hello world</Truncate>
);
```
## Customization
This component can be customized with [styled-system](https://jxnblk.com/styled-system) by passing props for [color](http://jxnblk.com/styled-system/table#core), [font size](http://jxnblk.com/styled-system/table#core), [space](https://jxnblk.com/styled-system#space-theming), or [typography](http://jxnblk.com/styled-system/table#typography).