Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-google-maps-autocomplete

Package Overview
Dependencies
Maintainers
0
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-google-maps-autocomplete

- react-native-google-maps-autocomplete is A dynamic auto complete text input that fetches from google maps api and show the results in a drop down.

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source
  • react-native-google-maps-autocomplete is A dynamic auto complete text input that fetches from google maps api and show the results in a drop down.

  • It comes with a built-in TypeScript typings and is compatible with all popular JavaScript frameworks. You can use it directly or leverage well-maintained wrapper packages that allow for a more native integration with your frameworks of choice.

Installation:

npm i react-native-google-maps-autocomplete

yarn add react-native-google-maps-autocomplete

Usage:

import AutoCompleteGeoLocation from 'react-native-google-maps-autocomplete';


    <AutoCompleteGeoLocation
            textInputProps={{cursorColor: '#FFF'}}
            inputStyle={styles.input}
            placeholder={'Search city'}
            onPlaceSelected={(placeId, description) => {
              setCity(description);
            }}
            quaryData={{
              key: GOOGLE_API_KEY,
              types: ['city_hall'],
            }}
          />

Example:

Dataset Properties

NameType
quaryData{key: string; types: string[]}
placeholder?string
onPlaceSelected(placeId: string, description: string) => void
debounceDelayInSeconds?number
containerStyle?ViewStyle
inputStyle?ViewStyle
placeHolderColor?string
resultItemTextStyle?TextStyle
resultItemStyle?ViewStyle
resultListStyle?ViewStyle
textInputProps?TextInputProps
onTextChanged?(text: string) => void

Keywords

FAQs

Package last updated on 04 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc