UNPKG

dnd-kit-sortable-tree-eshaffer

Version:

This is a Tree component extracted from [dndkit](https://github.com/clauderic/dnd-kit) examples and abstracted a bit. Here's how it could look like (visuals are completely customizable via css though) [![img.png](img.png)](https://shaddix.github.io/dnd-ki

5 lines (4 loc) 279 B
import React from 'react'; import type { TreeItemComponentProps } from '../../../src'; import { TreeItemData } from '../TreeItemData'; export declare const TreeItem: React.ForwardRefExoticComponent<TreeItemComponentProps<TreeItemData> & React.RefAttributes<HTMLDivElement>>;