rctui-tree

0.1.1 • Public • Published

Tree

react ui tree component

online example

Install

npm install rctui-tree

Usage

import Tree from 'rctui-tree'

<Tree
  className={string}
  selectAble={bool}   // default value is false
  data={array}        // data
  sep={string|null}   // default value is ","
  greedy={bool}       // if greedy is true, getValue will contains half selected value
  onClick={function(data)}
  onChange={function}
  readOnly={bool}     // default value is false
  textTpl="string"    // text template, default value is "{text}"
  valueTpl="string"   // value template, default value is "{id}"
  value={string|array}
/>

Readme

Keywords

Package Sidebar

Install

npm i rctui-tree

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • lobos