1.0.1 • Published 8 years ago
react-fancy-input v1.0.1
react-fancy-input
Inspiration

props
Accepts any props passed from parent component
| Prop Name | type | default | 
|---|---|---|
| texts | array(string) | null | 
| delay | number(in millisecond) | 200 | 
| cursor | string | | | 
Usage
import Input from 'react-fancy-input'
const placeholders = ['Search for book', 'Search by author', 'Search by publisher']
/* ... */
<Input texts={placeholders}/>