2.9.7 • Published 6 days ago

@lendi/address-picker v2.9.7

Weekly downloads
-
License
ISC
Repository
-
Last release
6 days ago

@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
2.9.7

6 days ago

2.9.4

2 months ago

2.9.6

2 months ago

2.9.5

2 months ago

2.9.3

2 months ago

2.9.2

6 months ago

2.9.1

6 months ago

2.9.0

10 months ago

2.8.3

1 year ago

2.8.5

12 months ago

2.8.4

1 year ago

2.8.1

1 year ago

2.7.2

1 year ago

2.8.0

1 year ago

2.8.2

1 year ago

2.7.0

1 year ago

2.7.1

1 year ago

2.6.4

1 year ago

2.6.4-beta.0

1 year ago

2.7.2-beta.0

1 year ago

2.7.1-beta.0

1 year ago

2.7.2-beta.1

1 year ago

2.6.1

2 years ago

2.6.0

2 years ago

2.6.3

2 years ago

2.6.2

2 years ago

2.6.2-beta.0

2 years ago

2.6.0-beta.1

2 years ago

2.6.0-beta.2

2 years ago

2.6.0-beta.0

2 years ago

2.5.2-canary.0

2 years ago

2.5.1

2 years ago

2.5.1-beta.0

2 years ago

2.5.0

2 years ago

2.5.0-beta.0

2 years ago

2.4.6-beta0

2 years ago

2.4.5

2 years ago

2.4.4

2 years ago

2.4.3

2 years ago

2.4.2

2 years ago

2.4.1

2 years ago

2.4.0

2 years ago

2.3.1

2 years ago

2.3.0

2 years ago

2.2.1

2 years ago

2.2.0

2 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.1

3 years ago

1.0.0-beta2

3 years ago

1.0.0-beta

3 years ago

1.0.0

3 years ago