fs-react
v0.0.4
Published
[![NPM version][npm-badge]][npm] [![Build Status][travis-ci-image]][travis-ci-url]
Readme
ReactAutoComplelte
Auto filter data table
Installation
npm install fs-react --saveUsage
inmport fs-react from 'fs-react';
Further options
Property | Type | Default | Description
:-----------------------|:--------------|:--------------|:--------------------------------
className | string | 'form-control' | css class for html input element. also is passed to children
data | array | [] |
filterName | array | ['code', 'name', '...'] | 'limit maximum 5'
location | Number | 0 | 'location by table column '
columns | array | [] |
name | string| 'ReactAutoComplete' | html form prop
id | string | '' | html form prop
autoFocus | boolean | true | html autofocus prop
bgcolor | string | '' | html bgcolor prop. Background tr when have a event row up/down
txtColor | string | '' | html text color prop. text-color tr when have a event row up/down
placeholder | string | '' | html placeholder prop
