10 lines
540 B
TypeScript
10 lines
540 B
TypeScript
/// <reference types="react" />
|
|
import { type PathProps } from '@react-leaflet/core';
|
|
import type { GeoJsonObject } from 'geojson';
|
|
import { GeoJSON as LeafletGeoJSON, type GeoJSONOptions } 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>>>;
|