diff options
Diffstat (limited to 'node_modules/pigeon-maps/lib/overlays/Marker.d.ts')
-rw-r--r-- | node_modules/pigeon-maps/lib/overlays/Marker.d.ts | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/node_modules/pigeon-maps/lib/overlays/Marker.d.ts b/node_modules/pigeon-maps/lib/overlays/Marker.d.ts new file mode 100644 index 0000000..8cb7d5d --- /dev/null +++ b/node_modules/pigeon-maps/lib/overlays/Marker.d.ts @@ -0,0 +1,34 @@ +import React from 'react';
+import { PigeonProps } from '../types';
+interface MarkerProps extends PigeonProps {
+ color?: string;
+ payload?: any;
+ width?: number;
+ height?: number;
+ hover?: boolean;
+ style?: React.CSSProperties;
+ className?: string;
+ children?: JSX.Element;
+ onClick?: ({ event: HTMLMouseEvent, anchor: Point, payload: any }: {
+ event: any;
+ anchor: any;
+ payload: any;
+ }) => void;
+ onContextMenu?: ({ event: HTMLMouseEvent, anchor: Point, payload: any }: {
+ event: any;
+ anchor: any;
+ payload: any;
+ }) => void;
+ onMouseOver?: ({ event: HTMLMouseEvent, anchor: Point, payload: any }: {
+ event: any;
+ anchor: any;
+ payload: any;
+ }) => void;
+ onMouseOut?: ({ event: HTMLMouseEvent, anchor: Point, payload: any }: {
+ event: any;
+ anchor: any;
+ payload: any;
+ }) => void;
+}
+export declare function Marker(props: MarkerProps): JSX.Element;
+export {};
|