zooid-input
v2.3.3
Published
Input
Downloads
35
Readme
zooid-input
A React component to render Zooid like text inputs.
Install
npm install --save zooid-input
Props
| Prop | Type | Default | Description | | ----------- | -------| --------| -------------------------------------| | className | string | | Additional css classes for your input| | disabled | bool | false | Disables the text input | | label | string | | The label for the text input | | name | string | ' ' | name value for the input | | placeholder | string | | placeholder text for the input box | | required | bool | false | Makes the text input required | | description | string | | Help text for the input field |
Example
<Input name="inputName" placeholder="Input Text Here" label="Awesome Label" />