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.

