colby-react-search-input

1.0.6 • Public • Published

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',

Readme

Keywords

none

Package Sidebar

Install

npm i colby-react-search-input

Weekly Downloads

0

Version

1.0.6

License

ISC

Last publish

Collaborators

  • johnwatkins0