2025-08-13 18:05:26 +02:00

9 lines
510 B
TypeScript

import { type PathProps } from '@react-leaflet/core';
import { type LatLngExpression, type PolylineOptions, Polygon as LeafletPolygon } from 'leaflet';
import type { ReactNode } from 'react';
export interface PolygonProps extends PolylineOptions, PathProps {
children?: ReactNode;
positions: LatLngExpression[] | LatLngExpression[][] | LatLngExpression[][][];
}
export declare const Polygon: import("react").ForwardRefExoticComponent<PolygonProps & import("react").RefAttributes<LeafletPolygon<any>>>;