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