blob: 8cb7d5d84792b3e13550564d013a5bc53be79479 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 {};
|