UNPKG

@roo-ui/components

Version:

24 lines (15 loc) 626 B
# 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://github.com/jxnblk/styled-system) by passing props for [color](https://github.com/jxnblk/styled-system#color-responsive), [font size](https://github.com/jxnblk/styled-system#fontsize-responsive), [space](https://github.com/jxnblk/styled-system#space-responsive), or [typography](https://github.com/jxnblk/styled-system#typography).