React Google Places Autocomplete 输入 -- 完全可自定义
React Google Places Autocomplete 输入 -- 完全可自定义
React component for easily use Google Places Autocomplete
Install the latest version:
npm install --save react-google-places-autocomplete
or
yarn add react-google-places-autocompleteUse the component!
import React from 'react';
import GooglePlacesAutocomplete from 'react-google-places-autocomplete';
const Component = () => (
);
export default Component;Coming from v2? Check the migration guide
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.
yarn build or npm run buildyalc publishyalc add react-google-places-automocompleteyalc update react-google-places-autocompleteSubmit a PR!
Icons made by Freepik from www.flaticon.com
暂无开放 Issues,或尚未同步最近议题。