UNPKG

@mentor-apm/react-sortable-tree

Version:

Drag-and-drop sortable component for nested data and hierarchies

15 lines (14 loc) 406 B
import React from 'react'; import { ConnectDropTarget } from 'react-dnd'; import { TreeItem } from '.'; declare type TreePlaceholderProps = { children: any; connectDropTarget: ConnectDropTarget; isOver: boolean; canDrop: boolean; draggedNode: TreeItem; treeId: string; drop: any; }; declare const TreePlaceholder: React.FC<TreePlaceholderProps>; export default TreePlaceholder;