react-tree-pane
v0.0.8
Published
React tree-pane component
Downloads
23
Maintainers
Readme
React Tree Pane
Tree-Pane component built with React
Check out the demo
npm install react-tree-pane
Example
var model = {
name: 'Default',
children: [
{ name: 'react-tree-pane', children:[
{name: 'demo', children: [
{name: 'bundle.js'},
{name: 'Example.js'}
]},
{name: 'src', children: [
{name: 'TreePane.js'}
]},
{name: 'test', children: [
{name: 'TreePane-test.js'}
]},
{name: 'package.json'}
]}
]
};
var Example = React.createClass({
render: function() {
return <TreePane model={model} />
}
});
React.render(<Example />, document.body);