Tree
react ui tree component
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}
/>