UNPKG

react-leaflet

Version:

React components for Leaflet maps

11 lines (10 loc) 832 B
import { MediaOverlayProps } from '@react-leaflet/core'; import { SVGOverlay as LeafletSVGOverlay } from 'leaflet'; import { ReactNode } from 'react'; export interface SVGOverlayProps extends MediaOverlayProps { attributes?: Record<string, string>; children?: ReactNode; } export declare const useSVGOverlayElement: (props: SVGOverlayProps, context: import("@react-leaflet/core").LeafletContextInterface) => import("react").MutableRefObject<import("@react-leaflet/core").LeafletElement<LeafletSVGOverlay, any>>; export declare const useSVGOverlay: (props: SVGOverlayProps) => import("react").MutableRefObject<import("@react-leaflet/core").LeafletElement<LeafletSVGOverlay, any>>; export declare const SVGOverlay: import("react").ForwardRefExoticComponent<SVGOverlayProps & import("react").RefAttributes<LeafletSVGOverlay>>;