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

@lendi/address-picker

Package Overview
Dependencies
Maintainers
0
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lendi/address-picker

An AddressPicker component.

  • 2.12.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
173
decreased by-41.75%
Maintainers
0
Weekly downloads
 
Created
Source

@lendi/address-picker

An AddressPicker component.

Installation

yarn add @lendi/address-picker

Usage

Before using this component, please add the following googlemap script to your application's head.

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDedPUSXQBIHOiI_Mrw5aKTGEy4I9GX3sY&libraries=geometry,places,visualization"></script>
import AddressPicker from '@lendi/address-picker';

<AddressPicker />;

Props

NameDescriptionDefault
onChange:On change from autosuggest only (e: SyntheticEvent<Element, Event>) => void
onSelectAddressWhen user selects the address - either from 'save' on manual entry or by selecting a suggestion from autosuggest (selection: AddressObject, formatString?: string) => void
countryA two letter code corresponding to a country. Refer to ISO 3166-1 string'au'
datasetDetermines which address file to search, i.e. GNAF (Geoscape Australia’s Geocoded National Address File) or PAF (Australia Post's Postcode Address File) 'GNAF' 'PAF''GNAF'
isDisabledDisable the Autocomplete input boolean
onResetOn reset, do a thing () => void
regionSearchOnlyAllow user to search cities or postcodes only boolean
sizeSize of input ListSize'md'
valuestring
manualAddressInputTypeDetermines if postal address option is visible in manual input modal. (residential, postal, both) 'both' 'residential' 'postal'
onExceptionExplicit onException handler (e: Error) => void

FAQs

Package last updated on 16 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