@ichooss/xflow
Version:
[English (US)](README.md) | 简体中文
6 lines • 316 B
TypeScript
import { Dnd } from '@antv/x6-plugin-dnd';
import type { NodeOptions } from '../types';
export declare const useDnd: (options?: Omit<Dnd.Options, 'target' | 'getDragNode' | 'getDropNode'>) => {
startDrag: (n: NodeOptions, e: React.MouseEvent<Element, MouseEvent>) => void;
};
//# sourceMappingURL=useDnd.d.ts.map