react-google-place-autocomplete-input

A Input React Component for Google Place AutoComplete

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-google-place-autocomplete-input
010.1.56 years ago6 years agoMinified + gzip package size for react-google-place-autocomplete-input in KB

Readme

React Google Place Autocomplete input
A Input React Component for Google Place AutoComplete
The maintainers of the project are:

Install

npm i react-google-place-autocomplete-input

Using

import React from 'react';
import GooglePlaceSearchInput from 'react-google-place-autocomplete-input';

export default React.createClass({
    render() {
        return (
			<GooglePlaceSearchInput
				onChange={console.log}
				onPlaceSelected={console.log}
				onRemove={console.log}
			/>
        );
    }
});

General notes

  • In lieu of a formal styleguide, take care to maintain the existing coding style and please do follow the guideline
  • Add unit tests for any new or changed functionality.
  • Lint and test your code using npm test.

And please:

Always run npm test before sending a PR

Sending Pull-Requests

If you fixed or added something useful to the project, you can send pull-request. It will be reviewed by maintainer and accepted, or commented for rework, or declined. If you a new and don't know what you should do to send a PR, please see this tutorial
Before sending you Pull Request please don't forget to check your code with npm test. PR that don't pass tests will not be accept