UNPKG

508 BTypeScriptView Raw
1import { type PathProps } from '@react-leaflet/core';
2import type { GeoJsonObject } from 'geojson';
3import { type GeoJSONOptions, GeoJSON as LeafletGeoJSON } from 'leaflet';
4import type { LayerGroupProps } from './LayerGroup.js';
5export interface GeoJSONProps extends GeoJSONOptions, LayerGroupProps, PathProps {
6 data: GeoJsonObject;
7}
8export declare const GeoJSON: import("react").ForwardRefExoticComponent<GeoJSONProps & import("react").RefAttributes<LeafletGeoJSON<any, import("geojson").Geometry>>>;