react-tree-es6
If you want to find a tree view component for React, this module is what you need.
Getting Started
It ONLY supports ES6 and above. Read https://hckhanh.github.io/react-tree-es6 for more details.
Installation
npm install --save react-tree-es6
Usage
const CORE = data: 'Simple root node' text: 'Root node 2' state: opened: true selected: true children: text: 'Child 1' 'Child 2' ; Component { superprops; thisstate = items: ; thishandleOnChanged = thishandleOnChanged; } { this; } { return <div> <ReactTree core=CORE onChanged=thishandleOnChanged /> <div>Selected items: thisstateitems</div> </div> ; }
License
MIT