0.0.3 • Published 3 years ago
react-native-mapbox-places-autocomplete v0.0.3
Mapbox Search Component for React Native
Customizable Mapbox Places autocomplete component for iOS and Android React-Native apps
Preview

Support
Buy me a coffe at:
Installation
Step 1.
npm install react-native-mapbox-places-autocomplete --saveor
yarn add react-native-mapbox-places-autocompleteStep 2.
Get your Mapbox Public Token
Basic Example
Basic Address Search
import React from "react";
import MapboxPlacesAutocomplete from "react-native-mapbox-places-autocomplete";
const MapboxPlacesInput = () => {
return (
<MapboxPlacesAutocomplete
placeholder="Origin"
accessToken={APIKEY}
onPlaceSelect={(data) => {
console.log(data);
}}
countryId="id"
/>
);
};
export default MapboxPlacesInput;Changelog
Please see the releases tab for the changelog information.