UNPKG

832 BTypeScriptView Raw
1import { MediaOverlayProps } from '@react-leaflet/core';
2import { SVGOverlay as LeafletSVGOverlay } from 'leaflet';
3import { ReactNode } from 'react';
4export interface SVGOverlayProps extends MediaOverlayProps {
5 attributes?: Record<string, string>;
6 children?: ReactNode;
7}
8export declare const useSVGOverlayElement: (props: SVGOverlayProps, context: import("@react-leaflet/core").LeafletContextInterface) => import("react").MutableRefObject<import("@react-leaflet/core").LeafletElement<LeafletSVGOverlay, any>>;
9export declare const useSVGOverlay: (props: SVGOverlayProps) => import("react").MutableRefObject<import("@react-leaflet/core").LeafletElement<LeafletSVGOverlay, any>>;
10export declare const SVGOverlay: import("react").ForwardRefExoticComponent<SVGOverlayProps & import("react").RefAttributes<LeafletSVGOverlay>>;