colby-react-search-input
v1.0.6
Published
An input form for React apps.
Downloads
14
Readme
colby-react-search-input
An input component for React apps.
Install
npm install --save colby-react-search-input
Props
Types
handleSearchTermChange: PropTypes.func.isRequired,
searchTerm: PropTypes.string.isRequired,
fetching: PropTypes.bool,
id: PropTypes.string,
placeholderText: PropTypes.string,
Defaults
fetching: false,
id: Math.random().toString(36).substr(2, 5), // Random string.
placeholderText: 'Search',