Store Locator React

Installation
yarn add @colabcommerce/elements
or
npm install @colabcommerce/elements
Example Usage
import StoreLocator from '@colabcommerce/elements/StoreLocator';
import '@colabcommerce/elements/dist/style.css';

<StoreLocator id={YOUR_CC_ORGANIZATION_ID} locale="en-US" root="/retailers" />
Props
id
Stringrequired

The Colab ID of the organization that is using the store locator element.

locale
String

The locale that the store locator element is being used in. Default behavior is to use the browser's locale.

root
String

The root path for the store locator element. This builds links for retailer pages, default is '/retailers'.