UNPKG

expo-osm-sdk

Version:

OpenStreetMap component for React Native with Expo

23 lines 608 B
import React from 'react'; import { SearchBoxProps } from '../types'; /** * SearchBox Component * A search input with autocomplete functionality for finding locations * @example * ``` * <SearchBox * onLocationSelected={(location) => { * console.log('Selected:', location.displayName); * mapRef.current?.animateToLocation( * location.coordinate.latitude, * location.coordinate.longitude, * 15 * ); * }} * maxResults={5} * autoComplete={true} * /> * ``` */ export declare const SearchBox: React.FC<SearchBoxProps>; //# sourceMappingURL=SearchBox.d.ts.map