1.0.5 • Published 3 years ago

@iamn1ck/react-google-places-typeahead v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Google Maps Places Autocomplete React component

A React component to build a customized UI for Google Maps Places Autocomplete

Demo

Features

Comming soon

Instalation

npm install --save @netojose/react-google-places-typeahead

Getting Started

Comming soon

Props

propDescriptiontypedefault valuerequired
childrenfunction to render itemsfunctionYes
valueSearch input valuestringYes
onChangeOn change eventfunctionYes
onErrorOn error eventfunction() => nullNo
gMapsCallbackCallback name to initialise component after google script is loadedstringnullNo
onSelectOn select eventfunction() => nullNo
debounceInterval between each Google API service call (in ms)integer200No
searchOptionsOptions to Google Maps APIobject{}No

children

Comming soon

value

Comming soon

onChange

Comming soon

onError

Comming soon

gMapsCallback

Comming soon

onSelect

Comming soon

debounce

Comming soon

searchOptions

Comming soon

Utility Functions

geocodeByPlaceId

Comming soon

geocodeByAddress

Comming soon

getLatLng

Comming soon

loadScript

Comming soon