react-google-address-autocomplete
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

/react-google-address-autocomplete/

    Package Sidebar

    Install

    npm i react-google-address-autocomplete

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    21.9 kB

    Total Files

    9

    Last publish

    Collaborators

    • mbaranski