react-fancytree

0.0.1 • Public • Published

react-jstree

NPM version Build Status

Dependency Status devDependency Status peerDependency Status

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 

Package Sidebar

Install

npm i react-fancytree

Weekly Downloads

0

Version

0.0.1

License

ISC

Last publish

Collaborators

  • luqin