katoikia-app/web-ui/web-react/node_modules/primereact/treenode/treenode.d.ts

17 lines
359 B
TypeScript

import {IconType} from "../utils";
export default interface TreeNode {
key?: string | number;
label?: string;
data?: any;
icon?: IconType<TreeNode>;
children?: TreeNode[];
style?: object;
className?: string;
droppable?: boolean;
draggable?: boolean;
selectable?: boolean;
leaf?: boolean;
expanded?: boolean;
}