UNPKG

expo-osm-sdk

Version:

OpenStreetMap component for React Native with Expo

17 lines 655 B
import React from 'react'; import { OverlayConfig } from '../types'; /** * CustomOverlay component for OSMView * * Note: This component is primarily a data container for custom overlays. * The actual rendering is handled by the OSMView component through * the overlays prop. This component exists to provide a consistent * API interface similar to other map libraries. */ interface CustomOverlayProps extends Omit<OverlayConfig, 'id' | 'component'> { children: React.ReactNode; } declare const CustomOverlay: React.FC<CustomOverlayProps>; export { CustomOverlay }; export type { CustomOverlayProps }; //# sourceMappingURL=CustomOverlay.d.ts.map