react-admin-component
Version:
react library
14 lines (13 loc) • 375 B
TypeScript
import React from 'react';
interface DragContainerProps {
children?: React.ReactNode;
}
interface IDrag {
state?: React.DragEvent<HTMLDivElement>['type'];
}
export declare const DragContext: React.Context<{
drag: IDrag;
setDrag: Function;
}>;
declare const DragContainer: (props: DragContainerProps) => JSX.Element;
export default DragContainer;