react-bs4-typeahead
v0.0.4
Published
Bootstrap 4 Typeahead
Downloads
11
Readme
Bootstrap 4 Typeahead with React
To get started:
npm install --ssave react-bs4-typeahead
And then import the component into the file you would like to use it in.
import Typeahead from 'react-bs4-typeahead'
To use the component:
<Typeahead />
Required props are:
data: Array,
id: ID of input (must be different for each input if called multiple times on the same page),
customStyles: Any custom styles you would like to apply to the input,
placeholder: Placeholder of the input