UNPKG

510 BTypeScriptView Raw
1import { type PathProps } from '@react-leaflet/core';
2import { type LatLngExpression, Polygon as LeafletPolygon, type PolylineOptions } from 'leaflet';
3import type { 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>>>;