Chakra UI Google Places Autocomplete
React component for easily use Google Places Autocomplete
Getting started
Install the latest version:
npm install --save chakra-ui-google-places-autocomplete
or
yarn add chakra-ui-google-places-autocomplete
Use the component!
import React from 'react';
import GooglePlacesAutocomplete from 'chakra-ui-google-places-autocomplete';
const Component = () => (
<div>
<GooglePlacesAutocomplete apiKey="****" />
</div>
);
export default Component;
Documentation
Read The Docs
How to contribute?
- Fork this repo
- Clone your fork
- Code 🤓
- Test your changes
- Submit a PR!
How to publish?
For this, I like to use np
- Install np
- Build project with
yarn build
or npm run build
- Publish the package with np:
np --no-tests
Icons made by Freepik from www.flaticon.com