@docsvision/webclient
Version:
Type definitions for DocsVision WebClient scripts and extensions.
22 lines (21 loc) • 654 B
TypeScript
import React from "react";
export interface IDraggableProps {
/** React.ReactNode that repersents content */
children?: React.ReactNode;
/** Custom class for Droppable */
className?: string;
/** Identificator */
id: string;
/** Is elementDraggable */
draggable: boolean;
/** on drop event handler */
onDragStart?: (e: any) => void;
/** on click event handler */
onClick?: (e: any) => void;
}
export declare class Draggable extends React.Component<IDraggableProps, undefined> {
onDragStart: (e: any) => void;
onDragOver: (e: any) => void;
onClick: (e: any) => void;
render(): JSX.Element;
}