react-jstree
jstree components built with React.
Installation
$ npm install react-jstree --save
Usage
<Tree>
<TreeNode text="Root Node 1">
<TreeNode
text={<span>initially <b>Selected</b></span>}
selected
/>
<TreeNode text="initially hovered" hovered/>
<TreeNode text="initially disabled" disabled/>
<TreeNode text="initially open" opened>
<TreeNode text="Another Node"/>
</TreeNode>
<TreeNode text="initially close" opened={false}>
<TreeNode text="Another Node"/>
</TreeNode>
<TreeNode text="Loading children" loading/>
</TreeNode>
<TreeNode text="Root Node 2"/>
</Tree>
Contributing
$ npm install # Install Node.js components listed in ./package.json $ npm start # Compile and launch