A virtualized tree view react component based on react-window
npm i --save react-virtualized-tree-view
import Tree from 'react-virtualized-tree-view';
name | type | default | description |
---|---|---|---|
items | array of objects | Each object must contain next properties: id (number), text (string), rootId (number or null) | |
width | number | 300 | component width |
height | number | 400 | component height |
rowHeight | number | 25 | single row height |
onRowClick | function | row click handler |