tree ui component for react
- support ie8,ie8+,chrome,firefox,safari
http://localhost:8008/examples/
online example: http://react-component.github.io/tree/build/examples/
var Rctree = require('rc-tree');
var React = require('react');
React.render(<Rctree />, container);
name | type | default | description |
---|---|---|---|
className | String | additional css class of root dom node | |
expanded | bool | whether expand the tree node | |
iconEle | react node or null | custom icon | |
showLine | bool | true | whether show line |
checkable | bool | whether support checked | |
onSelect | function |
- KeyDown/KeyUp
npm install
npm start
http://localhost:8003/tests/runner.html?coverage
rc-tree is released under the MIT license.