blob: 16a0623e540fefb6436d6454fd0d8fafe83a092c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
import React from 'react';
import { PigeonProps, Point } from '../types';
interface DraggableProps extends PigeonProps {
className?: string;
style?: React.CSSProperties;
children?: React.ReactNode;
onDragStart?: (anchor: Point) => void;
onDragMove?: (anchor: Point) => void;
onDragEnd?: (anchor: Point) => void;
}
export declare function Draggable(props: DraggableProps): JSX.Element;
export {};
|