0.3.6 • Published 10 years ago

synapse-react-autocomplete v0.3.6

Weekly downloads
25
License
-
Repository
github
Last release
10 years ago

React Autocomplete - View Demo

A lightweight autocomplete input component

Install

npm install --save synapse-react-autocomplete

Usage

import Autocomplete from 'synapse-react-autocomplete';

Props

className : string
id : 'string'
labelField : 'string' (default 'label')
valueField : 'string' (default 'value')(optional)
options : [{ labelField : 'string', valueField : 'string' }]
placeholder : 'string'
minimumCharacters : number
maximumCharacters : number
maximumSuggestions : number
clearOnSelect : bool
dropdownPosition : string ('top' or 'bottom')
dropdownHeight : number
showSuggestionsOnEmptyFocus : bool

Styles

Styles are not included by default. Include scss/autocomplete.scss in your local app.scss file to include the base styles.

Development

  • Development - npm run demo
  • Distribution - npm run build
0.3.6

10 years ago

0.3.5

10 years ago

0.3.4

10 years ago

0.3.2

10 years ago

0.3.1

10 years ago

0.2.0

11 years ago

0.1.1

11 years ago