https://react-tree-view.vercel.app
https://github.com/PaigeWw/react-tree-view/tree/main/example
import TreeView from ''
<TreeView
dataSource={dataList as DataSource[]}
height={800}
width={1200}
LeafNodeComponent={LeafNodeComponent}
leafHeight={80}
leafWidth={360}
ref={treeViewRef}
/>
type TreeViewProps = {
dataSource: DataSource[];
width?: number;
height?: number;
ref?: React.MutableRefObject<any>;
leafHeight: number;
leafWidth: number;
LeafNodeComponent: React.FC<any>;
}