UNPKG

453 BTypeScriptView Raw
1import { FC } from 'react';
2import { BackendFactory, DragDropManager } from 'dnd-core';
3export declare type DndProviderProps<BackendContext, BackendOptions> = {
4 manager: DragDropManager;
5} | {
6 backend: BackendFactory;
7 context?: BackendContext;
8 options?: BackendOptions;
9 debugMode?: boolean;
10};
11/**
12 * A React component that provides the React-DnD context
13 */
14export declare const DndProvider: FC<DndProviderProps<unknown, unknown>>;