react-virtualized-tree-view

React component for virtualized tree

Usage no npm install needed!

<script type="module">
  import reactVirtualizedTreeView from 'https://cdn.skypack.dev/react-virtualized-tree-view';
</script>

README

react-virtualized-tree

A virtualized tree view react component based on react-window

screen

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