katoikia-app/web-ui/web-react/node_modules/primereact/gmap/gmap.d.ts

25 lines
687 B
TypeScript
Raw Normal View History

2022-07-06 04:15:11 +00:00
import * as React from 'react';
interface GMapEventParams {
originalEvent: React.SyntheticEvent;
overlay: any;
map: any;
}
export interface GMapProps {
options?: object;
overlays?: any[];
style?: object;
className?: string;
onMapReady?(map: any): void;
onMapClick?(event: React.SyntheticEvent): void;
onMapDragEnd?(): void;
onZoomChanged?(): void;
onOverlayDragStart?(event: React.SyntheticEvent): void;
onOverlayDrag?(event: React.SyntheticEvent): void;
onOverlayDragEnd?(event: React.SyntheticEvent): void;
onOverlayClick?(e: GMapEventParams): void;
}
export declare class GMap extends React.Component<GMapProps, any> { }