address-search
v0.0.11
Published
address-search React component
Downloads
6
Readme
Address search
Address search react component to autocomplete Australian addresses.
Prerequisites
An account with mappify.io and an apikey
Run with storybook
Set the environment variable STORYBOOK_MAPIFFY_ADDRESS_SEARCH_APIKEY
with the
api key from your mappify account.
npm run storybook
Installation
yarn add address-search
or npm install address-search
Usage
const getSuggestion = sugg => console.log("Suggestion value:", sugg);
<AddressSearch
provider="mapiffy"
apiKey="mappify-api-key"
getSuggestion={getSuggestion}
/>