1.0.0 • Published 4 years ago

react-google-address-autocomplete v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

react-google-address-autocomplete

Input that uses Google's autocomplete API for street addresses

NPM JavaScript Style Guide

Install

npm install --save react-google-address-autocomplete

Usage

<GoogleAddressAutocomplete
    apikey='AIzaSyA15J1FkkLtCM6Z4wXcOIplOLmUnkfLaes'
    placeselected={(place) => {
      if(place){
        alert("You selected: " + place.formatted_address)
      }
    }
    }
  />

Live Example

https://mikebski.github.io/react-google-address-autocomplete/

License

MIT © mikebski