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