react-leaflet
Version:
React components for Leaflet maps
9 lines (8 loc) • 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>>>;