{"repo":"Lodin/react-vtree","free":true,"listed":false,"github":"https://github.com/Lodin/react-vtree","clone":"git clone https://github.com/Lodin/react-vtree.git","description":"React component for efficiently rendering large tree structures","language":"TypeScript","stars":426,"topics":["react","react-components","windowing","virtualization","tree","performance","react-window"],"license":"MIT","category":"ui-components","readme_excerpt":"react-vtree This package provides a lightweight and flexible solution for rendering large tree structures. It is built on top of the react-window library. NOTE : This is the documentation for version 3.x.x . For version 2.x.x see this branch. Installation Requires React 18 or later (peer dependency). Usage FixedSizeTree Example You can also take a look at the very similar example at the Storybook: - Source code - Demo TypeScript Props Props inherited from FixedSizeList You can read more about these properties in the FixedSizeList documentation. - children: component . Uses own implementation, see below. - className: string = \"\" - direction: string = \"ltr\" - height: string number - initialScrollOffset: number = 0 - innerRef: function createRef object . This property works as it described in the react-window . For getting a FixedSizeList reference use listRef . - innerElementType: React.ElementType = \"div\" - innerTagName: string . Deprecated by react-window . - itemData: any - itemKey: function . Handled internally. - itemSize: number - layout: string = \"vertical\" - onItemsRendered: function - onScroll: function - outerRef: function createRef object - outerElementType: React.ElementType = \"div\" - outerTagName: string . Deprecated by react-window . - overscanCount: number = 1 - style: object = null - useIsScrolling: boolean = false - width: number string async: boolean This option allows making the tree asynchronous; e.g. you will be able to load the branch data on the node open","default_branch":null,"files":null,"tree":[],"storefront":"/r/Lodin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Lodin/react-vtree/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}