0.1.1 • Published 9 years ago

rctui-tree v0.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

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}
/>
0.1.1

9 years ago