Files
coopgo/node_modules/react-dnd/lib/core/DndProvider.d.ts
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

17 lines
516 B
TypeScript

import { FC, ReactNode } from 'react';
import { BackendFactory, DragDropManager } from 'dnd-core';
export declare type DndProviderProps<BackendContext, BackendOptions> = {
children?: ReactNode;
manager: DragDropManager;
} | {
backend: BackendFactory;
children?: ReactNode;
context?: BackendContext;
options?: BackendOptions;
debugMode?: boolean;
};
/**
* A React component that provides the React-DnD context
*/
export declare const DndProvider: FC<DndProviderProps<unknown, unknown>>;