芝麻web文件管理V1.00
编辑当前文件:/home/freeclou/app.optimyar.com/backend/node_modules/react-dnd/lib/decorators/DragSource.d.ts
import { SourceType } from 'dnd-core'; import { DndOptions } from '../interfaces'; import { DndComponentEnhancer, DragSourceSpec, DragSourceCollector } from './interfaces'; /** * Decorates a component as a dragsource * @param type The dragsource type * @param spec The drag source specification * @param collect The props collector function * @param options DnD options */ export declare function DragSource
(type: SourceType | ((props: RequiredProps) => SourceType), spec: DragSourceSpec
, collect: DragSourceCollector
, options?: DndOptions
): DndComponentEnhancer
;