9 lines
508 B
TypeScript
9 lines
508 B
TypeScript
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>>>;
|