React dynamic input placeholder component. You put an array of texts and it progressively displays placeholder one by one
Accepts any props passed from parent component
Prop Name | type | default |
---|---|---|
texts | array(string) | null |
delay | number(in millisecond) | 200 |
cursor | string |
```jsx harmony
import Input from ‘react-fancy-input’
const placeholders = [‘Search for book’, ‘Search by author’, ‘Search by publisher’]
/ … /
```