React-based typeahead using reactstrap with Bootstrap 4.0 beta 2. Fork of react-bootstrap-typeahead
npm install reactstrap-typeahead
$ npm install --save react-bootstrap-typeahead
`
Include the module in your project:
`jsx
import {Typeahead} from 'react-bootstrap-typeahead'; // ES2015
var Typeahead = require('react-bootstrap-typeahead').Typeahead; // CommonJS
`
Minified and unminified UMD modules are also included in the NPM package, or you can get them from CDNJS.
Documentation
- Basic Usage
- Data
- Filtering
- Rendering
- Public Methods
- Props
- API
- Upgrade Guide
CSS
The component tries to use as little CSS as possible, relying primarily on Bootstrap or any Bootstrap themes for styling. Some minimal CSS comes with the module and should be included wherever you're using the component.
Examples
Try the live examples, which also include code samples. If you'd like to modify the examples, clone the repository, npm install and npm run example` to build the example file. You can then open the HTML file locally in your browser.