{"repo":"appandflow/react-native-google-autocomplete","free":true,"listed":false,"github":"https://github.com/appandflow/react-native-google-autocomplete","clone":"git clone https://github.com/appandflow/react-native-google-autocomplete.git","description":"A hook that simplifies using the Google Places Autocomplete API.","language":"TypeScript","stars":176,"topics":["react-native","typescript","google-autocomplete","reactjs","expo","google-places-api","google-places-autocomplete"],"license":"MIT","category":"mobile-apps","readme_excerpt":"About App & Flow is a Montreal-based React Native engineering and consulting studio. We partner with the world’s top companies and are recommended by Expo. Need a hand? Let’s build together. team@appandflow.com Installation Usage The useGoogleAutocomplete hook takes 2 arguments Arg Description ------ ---------------------------------------------------------------------------------------------------------- apiKey Your google places api key config optional config object Config object Property Description --------------- ------------------------------------------------------------------------------------------------------ debounce optional - default 300 debounceOptions optional - Configuration options for debounce behavior. language optional - default 'en' queryTypes optional - default address - https://developers.google.com/places/web-service/autocomplete#place types minLength optional - default 2 - this is the min length of the term search before start components optional - A grouping of places to which you would like to restrict your results radius optional - The distance (in meters) within which to return place results lat optional - The latitude. If provided, lng is required lng optional - The longitude. If provided, lat is required strictBounds optional - Returns only places that are strictly within the region defined by location and radius. origin optional - The origin point as { lat, lng } from which to calculate straight-line distance to the destinations (returned as di","default_branch":null,"files":null,"tree":[],"storefront":"/r/appandflow","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/appandflow/react-native-google-autocomplete/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}