UNPKG

490 BTypeScriptView Raw
1import { PathProps } from '@react-leaflet/core';
2import { LatLngExpression, PolylineOptions, Polygon as LeafletPolygon } from 'leaflet';
3import { ReactNode } from 'react';
4export interface PolygonProps extends PolylineOptions, PathProps {
5 children?: ReactNode;
6 positions: LatLngExpression[] | LatLngExpression[][] | LatLngExpression[][][];
7}
8export declare const Polygon: import("react").ForwardRefExoticComponent<PolygonProps & import("react").RefAttributes<LeafletPolygon<any>>>;