Blame view

天文台pc/tianwentai-ui/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.d.ts 395 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
  import type { Connector } from '../../internals/index.js';
  import type { DragSourceMonitor } from '../../types/index.js';
  import type { DragSourceHookSpec } from '../types.js';
  import { DragSourceImpl } from './DragSourceImpl.js';
  export declare function useDragSource<O, R, P>(spec: DragSourceHookSpec<O, R, P>, monitor: DragSourceMonitor<O, R>, connector: Connector): DragSourceImpl<O, R, P>;