react-dnd-multi-backend
Version:
Multi Backend system compatible with React DnD
12 lines (11 loc) • 449 B
TypeScript
import { type MultiBackendOptions } from 'dnd-multi-backend';
import { type JSX, type ReactNode } from 'react';
export declare const PreviewPortalContext: import("react").Context<Element | null>;
export type DndProviderProps = {
context?: any;
options: MultiBackendOptions;
children?: ReactNode;
debugMode?: boolean;
portal?: Element;
};
export declare const DndProvider: ({ portal, ...props }: DndProviderProps) => JSX.Element;