react-leaflet
Version:
React components for Leaflet maps
11 lines (10 loc) • 474 B
TypeScript
import { EventedProps } from '@react-leaflet/core';
import { LatLngExpression, Popup as LeafletPopup, PopupOptions } from 'leaflet';
import { ReactNode } from 'react';
export interface PopupProps extends PopupOptions, EventedProps {
children?: ReactNode;
onClose?: () => void;
onOpen?: () => void;
position?: LatLngExpression;
}
export declare const Popup: import("react").ForwardRefExoticComponent<PopupProps & import("react").RefAttributes<LeafletPopup>>;