tree ui component for react
- support ie8,ie8+,chrome,firefox,safari
- KeyDown/KeyUp
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 | |
icon | bool | custom icon | |
onSelect | function | ||
function |
npm install
npm start
http://localhost:8003/examples/
online example: http://react-component.github.io/tree/build/examples/
http://localhost:8003/tests/runner.html?coverage
rc-tree is released under the MIT license.