@chamn/engine
Version:
11 lines (10 loc) • 395 B
TypeScript
import { TreeNodeData } from './dataStruct';
import { CPluginCtx } from '../../../../core/pluginManager';
export declare const DRAG_ITEM_KEY = "data-drag-key";
export type TreeNodeProps = {
item: TreeNodeData;
level?: number;
paths?: (string | number)[];
pluginCtx: CPluginCtx;
};
export declare const TreeNode: (props: TreeNodeProps) => import("react/jsx-runtime").JSX.Element;