UNPKG

react-dnd

Version:
15 lines (14 loc) 455 B
import * as React from 'react'; import { BackendFactory, DragDropManager } from 'dnd-core'; export declare type DndProviderProps<BackendContext, BackendOptions> = { manager: DragDropManager; } | { backend: BackendFactory; context?: BackendContext; options?: BackendOptions; debugMode?: boolean; }; /** * A React component that provides the React-DnD context */ export declare const DndProvider: React.FC<DndProviderProps<any, any>>;