0.0.33 • Published 8 years ago
react-auto-completer v0.0.33
react-auto-completer
yet another autocomplete plugin
Installing
# using yarn
yarn add react-auto-completer
# using npm
npm install --save react-auto-completer# in App.js for example
// ...
import Autocomplete 'react-auto-completer'Usage
<Autocomplete
placeholder=<placeholder>
list=<list>
/>Documentation
| Prop | Type | Description | Default value |
|---|---|---|---|
| placeholder | String | input Placeholder | Placeholder |
| list | Array | static results list | Empty array [] |
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm start
# build for production with minification
npm run build
# run unit tests
npm run test