2.1.0 • Published 5 years ago
react-simple-search v2.1.0
a very simple searchbar component for reactjs
Props
| Prop name | type | default | description |
|---|---|---|---|
| hideClearIcon | boolean | false | to not show X button |
| showSearchButton | boolean | false | to show search button |
| searchFromArray | array | [] | array of strings from where to search |
| getResults | function | () => {} | returns the searched results from searchFromArray based on input |