UNPKG

@roo-ui/components

Version:

30 lines (19 loc) 643 B
# Input <!-- STORY --> ## Installation ```shell $ yarn add @roo-ui/components ``` ## Example ```js import { Input } from '@roo-ui/components'; export default ( <Input placeholder="Hello world" /> ); ``` ## Properties | Name | Description | Type | Default | Required? | |:--------|:-------------------|:-------|:--------|:----------| | `error` | render error style | `bool` | false | - | ## Customization This component can be customized with [styled-system](https://github.com/jxnblk/styled-system) by passing props for [space](https://github.com/jxnblk/styled-system/blob/v2.2.5/README.md#space-responsive).