UNPKG

@front10/landing-page-book

Version:
19 lines (17 loc) 1.12 kB
# Input [![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme) ## Properties | </br>Name | </br>Type | </br>Summary | </br>Default | | ---- | ---- | ---- | ---- | | className | `string` | CSS Class to apply to input. | `''` | | icon | `string` | Icon to show with input. | `''` | | iconAlign | `string` | Align of icon. Can be <code>'left'</code> and <code>'right'</code> | `'left'` | | id | `string` | Input id. | `''` | | label | `string` | Label to show on input top. | `''` | | name | `string` | Input name. | `''` | | onChange | `func` | Called when input change. Params `{value}` | `() => {}` | | placeholder | `string` | Input placeholder. | `''` | | size | `string` | Size of input. Can be <code>'lg'</code> or <code>'sm'</code>. | `''` | | style | `objectOf` | Css style applied to the component | `null` | | type | `string` | Input type. Can be <code>'text'</code>, <code>'number'</code>, <code>'email'</code> and <code>'textarea'</code> | `'text'` | | value | `string` | Input value. | `''` |