yarn add @colabcommerce/elements
npm install @colabcommerce/elements
import StoreLocator from '@colabcommerce/elements/StoreLocator';
import '@colabcommerce/elements/dist/style.css';
<StoreLocator id={YOUR_CC_ORGANIZATION_ID} locale="en-US" root="/retailers" />idStringrequired
The Colab ID of the organization that is using the store locator element.
localeString
The locale that the store locator element is being used in. Default behavior is to use the browser's locale.
rootString
The root path for the store locator element. This builds links for retailer pages, default is '/retailers'.