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.

21 lines
617 B

import * as React from 'react';
import { DragDropManager, BackendFactory } from 'dnd-core';
/**
* The React context type
*/
export interface DndContextType {
dragDropManager: DragDropManager | undefined;
}
/**
* Create the React Context
*/
export declare const DndContext: React.Context<DndContextType>;
/**
* Creates the context object we're providing
* @param backend
* @param context
*/
export declare function createDndContext<BackendContext, BackendOptions>(backend: BackendFactory, context?: BackendContext, options?: BackendOptions, debugMode?: boolean): {
dragDropManager: DragDropManager;
};