npm package: @netojose/react-google-places-typeahead
Description: React component for Google Maps Places Autocomplete
Author: José neto
Latest version: 1.0.3

<p align="center">
<a href="https://www.npmjs.com/package/@netojose/react-google-places-typeahead"><img src="https://i.ibb.co/68FsLc4/logo.png" width="483 " height=" 247"></a>
</p>

<p align="center">
<a href="https://www.npmjs.com/package/@netojose/react-google-places-typeahead"><img src="https://badgen.net/github/license/netojose/react-google-places-typeahead" alt="License"></a>
<a href="https://www.npmjs.com/package/@netojose/react-google-places-typeahead"><img src="https://badgen.net/github/last-commit/netojose/react-google-places-typeahead" alt="Last commit"></a>
<a href="https://www.npmjs.com/package/@netojose/react-google-places-typeahead"><img src="https://badgen.net/github/open-issues/netojose/react-google-places-typeahead" alt="Open issues"></a>
<a href="https://www.npmjs.com/package/@netojose/react-google-places-typeahead"><img src="https://badgen.net/github/stars/netojose/react-google-places-typeahead" alt="Stars"></a>
<a href="https://www.npmjs.com/package/@netojose/react-google-places-typeahead"><img src="https://badgen.net/npm/v/@netojose/react-google-places-typeahead" alt="Npm version"></a>
<a href="https://www.npmjs.com/package/@netojose/react-google-places-typeahead"><img src="https://badgen.net/bundlephobia/min/@netojose/react-google-places-typeahead" alt="Minified size"></a>
<a href="https://www.npmjs.com/package/@netojose/react-google-places-typeahead"><img src="https://badgen.net/bundlephobia/minzip/@netojose/react-google-places-typeahead" alt="Minified gzipped size"></a>
<a href="https://www.npmjs.com/package/@netojose/react-google-places-typeahead"><img src="https://badgen.net/npm/dt/@netojose/react-google-places-typeahead" alt="Downloads"></a>
</p>

# Google Maps Places Autocomplete React component

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

* [Demo](#demo)
* [Features](#features)
* [Instalation](#instalation)
* [Getting Started](#getting-started)
* [Props](#props)
* [Utility Functions](#utility-functions)

## Demo
* [Online demo on Heroku](https://react-google-places-typeahead.herokuapp.com/)
* [Demo source code](https://github.com/netojose/react-google-places-typeahead-demo/)

## Features
*Comming soon*

## Instalation
```bash
npm install --save @netojose/react-google-places-typeahead
```

## Getting Started
*Comming soon*

## Props
| prop                             	| Description                                                         	| type     	| default value 	| required 	|
|----------------------------------	|---------------------------------------------------------------------	|----------	|---------------	|----------	|
| [children](#children)           	| function to render items                                            	| function 	|               	| Yes      	|
| [value](#value)                 	| Search input value                                                  	| string   	|               	| Yes      	|
| [onChange](#onChange)           	| On change event                                                     	| function 	|               	| Yes      	|
| [onError](#onError)             	| On error event                                                      	| function 	| () => null    	| No       	|
| [gMapsCallback](#gMapsCallback) 	| Callback name to initialise component after google script is loaded 	| string   	| null          	| No       	|
| [onSelect](#onSelect)           	| On select event                                                     	| function 	| () => null    	| No       	|
| [debounce](#debounce)           	| Interval between each Google API service call (in ms)               	| integer  	| 200           	| No       	|
| [searchOptions](#searchOptions) 	| Options to Google Maps API                                          	| object   	| {}            	| 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](#geocodeByPlaceId)
* [geocodeByAddress](#geocodeByAddress)
* [getLatLng](#getLatLng)
* [loadScript](#loadScript)

### geocodeByPlaceId
*Comming soon*

### geocodeByAddress
*Comming soon*

### getLatLng
*Comming soon*

### loadScript
*Comming soon*