UNPKG

453 BTypeScriptView Raw
1import { PathProps } from '@react-leaflet/core';
2import { LatLngBoundsExpression, Rectangle as LeafletRectangle, PathOptions } from 'leaflet';
3import { 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>>>;