react-wonderful-tree
Version:
React component for expandable, sortable, and droppable file trees
11 lines (10 loc) • 315 B
TypeScript
import { FC } from 'react';
import { TreeData, PlaceholderRefProps } from './types';
interface TreePlaceholderProps {
tree: TreeData;
flatTree: string[];
itemHeight: number;
placeholder: PlaceholderRefProps;
}
declare const TreePlaceholder: FC<TreePlaceholderProps>;
export default TreePlaceholder;