1 | import { type FitBoundsOptions, type LatLngBoundsExpression, Map as LeafletMap, type MapOptions } from 'leaflet';
|
2 | import React, { type CSSProperties, type ReactNode } from 'react';
|
3 | export type MapRef = LeafletMap | null;
|
4 | export interface MapContainerProps extends MapOptions {
|
5 | bounds?: LatLngBoundsExpression;
|
6 | boundsOptions?: FitBoundsOptions;
|
7 | children?: ReactNode;
|
8 | className?: string;
|
9 | id?: string;
|
10 | placeholder?: ReactNode;
|
11 | style?: CSSProperties;
|
12 | whenReady?: () => void;
|
13 | }
|
14 | export declare const MapContainer: React.ForwardRefExoticComponent<MapContainerProps & React.RefAttributes<LeafletMap>>;
|