diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-08-18 13:29:54 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-08-18 13:29:54 +0300 |
commit | fd70f95224374d23157ee7c0357733102cd0df53 (patch) | |
tree | e490c12e021cedaf211b292d5d623baa32a673fc /node_modules/pigeon-maps/lib/overlays/Draggable.d.ts |
Diffstat (limited to 'node_modules/pigeon-maps/lib/overlays/Draggable.d.ts')
-rw-r--r-- | node_modules/pigeon-maps/lib/overlays/Draggable.d.ts | 12 |
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 {};
|