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

@siteone/react-address-suggester

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@siteone/react-address-suggester

This is a solution for suggesting addresses. It is thin layer built on top of [react-autosuggest](https://github.com/moroshko/react-autosuggest), communicating with our address server.

  • 2.1.15
  • latest
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

Address Suggester

This is a solution for suggesting addresses. It is thin layer built on top of react-autosuggest, communicating with our address server.

Installation

Install this package and all peer dependencies.

yarn add @siteone/react-address-suggester

Usage

import Suggester from '@siteone/react-address-suggester'

<Suggester apiKey="abcde" onChange={(suggestion) => console.log("onChange", suggestion)} />

API

This library has only one export - the Suggester component.

Suggester
  • value: string the default input value for the suggester's text input (optional)
  • onChange: function to be called after suggestion is selected
  • apiKey: string API token given by our backend

All extra props will be passed to react-autosuggest component

FAQs

Package last updated on 08 Oct 2019

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