expo-osm-sdk
Version:
OpenStreetMap component for React Native with Expo
17 lines • 604 B
TypeScript
import React from 'react';
import { PolylineConfig } from '../types';
/**
* Polyline component for OSMView
*
* Note: This component is primarily a data container for polylines.
* The actual rendering is handled by the OSMView component through
* the polylines prop. This component exists to provide a consistent
* API interface similar to other map libraries.
*/
interface PolylineProps extends Omit<PolylineConfig, 'id'> {
children?: React.ReactNode;
}
declare const Polyline: React.FC<PolylineProps>;
export { Polyline };
export type { PolylineProps };
//# sourceMappingURL=Polyline.d.ts.map