This commit is contained in:
16
node_modules/react-dnd/lib/core/DndProvider.d.ts
generated
vendored
Normal file
16
node_modules/react-dnd/lib/core/DndProvider.d.ts
generated
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
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>>;
|
||||
Reference in New Issue
Block a user