UNPKG

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