rctui-select

0.1.1 • Public • Published

Select

react ui select component

online example

Install

npm install rctui-select

Usage

import Select from 'rctui-select'

<Select
  className={string}    // class
  data={array}
  sep={string|null}     // value separator, default value is ","
  filterAble={bool}     // default value is false
  readOnly={bool}       // default value is false
  groupBy={string}      // group key
  placeholder={string} 
  mult={bool}           // mult select, default value is false
  onChange={function}
  optionTpl={string}    // options template, default value is {text}
  resultTpl={string}    // text template, default value is optionTpl
  valueTpl={string}     // value tempale, default value is {value}
  value={string}
/>

Readme

Keywords

Package Sidebar

Install

npm i rctui-select

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • lobos