All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
17 lines
516 B
TypeScript
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>>;
|