UNPKG

473 BTypeScriptView Raw
1import { type PathProps } from '@react-leaflet/core';
2import { type LatLngBoundsExpression, Rectangle as LeafletRectangle, type PathOptions } from 'leaflet';
3import type { ReactNode } from 'react';
4export interface RectangleProps extends PathOptions, PathProps {
5 bounds: LatLngBoundsExpression;
6 children?: ReactNode;
7}
8export declare const Rectangle: import("react").ForwardRefExoticComponent<RectangleProps & import("react").RefAttributes<LeafletRectangle<any>>>;