Skip to content

victor-magarlamov/react-virtualized-tree

Repository files navigation

react-virtualized-tree

A virtualized tree view react component based on react-window

screen

Install

npm i --save react-virtualized-tree-view

Usage

import Tree from 'react-virtualized-tree-view';

API

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