UNPKG

react-leaflet

Version:

React components for Leaflet maps

9 lines (8 loc) 508 B
import { type PathProps } from '@react-leaflet/core'; import type { GeoJsonObject } from 'geojson'; import { type GeoJSONOptions, GeoJSON as LeafletGeoJSON } from 'leaflet'; import type { LayerGroupProps } from './LayerGroup.js'; export interface GeoJSONProps extends GeoJSONOptions, LayerGroupProps, PathProps { data: GeoJsonObject; } export declare const GeoJSON: import("react").ForwardRefExoticComponent<GeoJSONProps & import("react").RefAttributes<LeafletGeoJSON<any, import("geojson").Geometry>>>;