Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 1.32 KB

README.md

File metadata and controls

54 lines (41 loc) · 1.32 KB

React Google Places

React component for easily use Google Places Autocomplete

Getting started

Install the latest version:

npm install --save @eezyquote/react-google-places
  or
yarn add @eezyquote/react-google-places

Example:

import React from 'react';
import GooglePlacesAutocomplete from '@eezyquote/react-google-places';

const Component = () => (
  <div>
    <GooglePlacesAutocomplete
      apiKey={process.env.GOOGLE_MAPS_API_KEY}
    />
  </div>
);

export default Component;

Documentation

Read The Docs