react-bs4-typeahead

0.0.4 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i react-bs4-typeahead

Weekly Downloads

0

Version

0.0.4

License

MIT

Last publish

Collaborators

  • sbhn