Skip to content

gearbox-built/react-google-places-autocomplete

This branch is 91 commits behind Tintef/react-google-places-autocomplete:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

068cbac Â· Aug 28, 2020

History

69 Commits
Aug 28, 2020
Aug 28, 2020
Aug 28, 2020
Aug 28, 2020
Aug 28, 2020
Aug 28, 2020
Aug 28, 2020
Jul 31, 2020
Aug 28, 2020
Aug 28, 2020
Aug 28, 2020
Aug 28, 2020
Aug 28, 2020

Repository files navigation

License

React Google Places Autocomplete

React component for easily use Google Places Autocomplete

Getting started

Install the latest version:

npm install --save react-google-places-autocomplete
  or
yarn add react-google-places-autocomplete

Use the component!

import React from 'react';
import GooglePlacesAutocomplete from 'react-google-places-autocomplete';

const Component = () => (
  <div>
    <GooglePlacesAutocomplete
      apiKey="****"
    />
  </div>
);

export default Component;

How to contribute?

  1. Fork this repo

  2. Clone your fork

  3. Code 🤓

  4. Test your changes

    For this, I like to use yalc, as it allows to emulate the process of using npm/yarn.

    1. Install yalc
    2. Build project with yarn build or npm run build
    3. Publish the package with yalc: yalc publish
    4. Add the package to your test project yalc add react-google-places-automocomplete
    5. If needed, to update the package on your test project: yalc update react-google-places-autocomplete
  5. Submit a PR!



Icons made by Freepik from www.flaticon.com

About

React Google Places Autocomplete input -- fully customizable

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 91.1%
  • JavaScript 8.9%