UNPKG

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