You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
455 B
15 lines
455 B
import * as React from 'react';
|
|
import { BackendFactory, DragDropManager } from 'dnd-core';
|
|
export declare type DndProviderProps<BackendContext, BackendOptions> = {
|
|
manager: DragDropManager;
|
|
} | {
|
|
backend: BackendFactory;
|
|
context?: BackendContext;
|
|
options?: BackendOptions;
|
|
debugMode?: boolean;
|
|
};
|
|
/**
|
|
* A React component that provides the React-DnD context
|
|
*/
|
|
export declare const DndProvider: React.FC<DndProviderProps<any, any>>;
|