react-input-autosuggest

An atuo suggestion search box

Usage no npm install needed!

<script type="module">
  import reactInputAutosuggest from 'https://cdn.skypack.dev/react-input-autosuggest';
</script>

README

Node.js CI NPM JavaScript Style Guide

react-input-autosuggest

An atuo suggestion search box

react-input-autosuggest

Demo and playground available here

Install

npm install --save react-input-autosuggest

Usage

import React, { Component } from 'react'

import InputAutoSuggest from 'react-input-autosuggest'
import 'react-input-autosuggest/dist/index.css'

class Example extends Component {
  render() {
    return <InputAutoSuggest
              size="20"
              name="country"
              value={this.state.country}
              onChange={this.handleChange}
              data={['aa','bb','cc']}/>
  }

License

MIT © vinils