A React component to build a customized UI for Google Maps Places Autocomplete
Comming soon
npm install --save @netojose/react-google-places-typeahead
Comming soon
prop | Description | type | default value | required |
---|---|---|---|---|
children | function to render items | function | Yes | |
value | Search input value | string | Yes | |
onChange | On change event | function | Yes | |
onError | On error event | function | () => null | No |
gMapsCallback | Callback name to initialise component after google script is loaded | string | null | No |
onSelect | On select event | function | () => null | No |
debounce | Interval between each Google API service call (in ms) | integer | 200 | No |
searchOptions | Options to Google Maps API | object | {} | No |
Comming soon
Comming soon
Comming soon
Comming soon
Comming soon
Comming soon
Comming soon
Comming soon
Comming soon
Comming soon
Comming soon
Comming soon