summaryrefslogtreecommitdiff
path: root/node_modules/pigeon-maps/lib/overlays/Draggable.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/pigeon-maps/lib/overlays/Draggable.d.ts')
-rw-r--r--node_modules/pigeon-maps/lib/overlays/Draggable.d.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/node_modules/pigeon-maps/lib/overlays/Draggable.d.ts b/node_modules/pigeon-maps/lib/overlays/Draggable.d.ts
new file mode 100644
index 0000000..16a0623
--- /dev/null
+++ b/node_modules/pigeon-maps/lib/overlays/Draggable.d.ts
@@ -0,0 +1,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 {};