9 lines
473 B
TypeScript
9 lines
473 B
TypeScript
import { type PathProps } from '@react-leaflet/core';
|
|
import { type LatLngBoundsExpression, Rectangle as LeafletRectangle, type PathOptions } from 'leaflet';
|
|
import type { ReactNode } from 'react';
|
|
export interface RectangleProps extends PathOptions, PathProps {
|
|
bounds: LatLngBoundsExpression;
|
|
children?: ReactNode;
|
|
}
|
|
export declare const Rectangle: import("react").ForwardRefExoticComponent<RectangleProps & import("react").RefAttributes<LeafletRectangle<any>>>;
|