mui-draggable-treeview
Version:
React Treeview component built on Material-UI with drag and drop features
14 lines (13 loc) • 334 B
TypeScript
/// <reference types="react" />
import { SvgIconProps } from "@material-ui/core";
export interface TreeNode {
id: string;
name: string;
order?: number;
data?: any;
iconUrl?: string;
icon?: React.ElementType<SvgIconProps>;
children?: TreeNode[];
isRoot?: boolean;
disabled?: boolean;
}