UNPKG

557 BTypeScriptView Raw
1import { type PathProps } from '@react-leaflet/core';
2import { type LatLngExpression, Polyline as LeafletPolyline, type PolylineOptions } from 'leaflet';
3import type { ReactNode } from 'react';
4export interface PolylineProps extends PolylineOptions, PathProps {
5 children?: ReactNode;
6 positions: LatLngExpression[] | LatLngExpression[][];
7}
8export declare const Polyline: import("react").ForwardRefExoticComponent<PolylineProps & import("react").RefAttributes<LeafletPolyline<import("geojson").LineString | import("geojson").MultiLineString, any>>>;