@tolokoban/ui
Version:
React components with theme
13 lines • 542 B
TypeScript
import * as React from "react";
export interface ViewDragAndDropProps {
className?: string;
/** Type of the dragged data, and also accepted type for drop zone. */
type: string;
/** This is the data we move around when dragging. */
data?: string;
/** A data of the accepted type has been dropped. */
onDrop?(data: string): void;
children?: React.ReactNode;
}
export declare function ViewDragAndDrop(props: ViewDragAndDropProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=DragAndDrop.d.ts.map