Projects
View on GitHub
Tintef/react-google-places-autocomplete
About
A fully customizable Google Places autocomplete input for React.
Web & App DevelopmentMeasured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalReact 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;
Coming from v2? Check the migration guide
Documentation
How to contribute?
Fork this repo
Clone your fork
Code 🤓
Test your changes
For this, I like to use yalc, as it allows to emulate the process of using npm/yarn.
- Install yalc
- Build project with
yarn buildornpm run build - Publish the package with yalc:
yalc publish - Add the package to your test project
yalc add react-google-places-automocomplete - If needed, to update the package on your test project:
yalc update react-google-places-autocomplete
Submit a PR!
Icons made by Freepik from www.flaticon.com
Explore related projects
Loading…