react-google-address-autocomplete
v1.0.0
Published
Input that uses Google's autocomplete API for street addresses
Downloads
8
Readme
react-google-address-autocomplete
Input that uses Google's autocomplete API for street addresses
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