
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@lendi/address-picker
Advanced tools
An AddressPicker component.
This project is forked from @lendi-ui/address-picker
yarn add @lendi/address-picker
When using this component, googlemap api script link is needed.
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDedPUSXQBIHOiI_Mrw5aKTGEy4I9GX3sY&libraries=geometry,places,visualization"></script>
import AddressPicker from '@lendi/address-picker';
<AddressPicker />;
Name | Description | Default |
---|---|---|
onChange: | On change from autosuggest only (e: SyntheticEvent<Element, Event>) => void | |
onSelectAddress | When user selects the address - either from 'save' on manual entry or by selecting a suggestion from autosuggest (selection: AddressObject, formatString?: string) => void | |
country | A two letter code corresponding to a country. Refer to ISO 3166-1 string | 'au' |
dataset | Determines 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' |
isDisabled | Disable the Autocomplete input boolean | |
onReset | On reset, do a thing () => void | |
regionSearchOnly | Allow user to search cities or postcodes only boolean | |
size | Size of input ListSize | 'md' |
value | string | |
manualAddressInputType | Determines if postal address option is visible in manual input modal. (residential, postal, both) 'both' 'residential' 'postal' | |
onException | Explicit onException handler (e: Error) => void |
FAQs
An AddressPicker component.
We found that @lendi/address-picker demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.