UNPKG

459 BTypeScriptView Raw
1import { type EventedProps } from '@react-leaflet/core';
2import { type LatLngExpression, Tooltip as LeafletTooltip, type TooltipOptions } from 'leaflet';
3import { type ReactNode } from 'react';
4export interface TooltipProps extends TooltipOptions, EventedProps {
5 children?: ReactNode;
6 position?: LatLngExpression;
7}
8export declare const Tooltip: import("react").ForwardRefExoticComponent<TooltipProps & import("react").RefAttributes<LeafletTooltip>>;