CompanySwitcher Container
Overview
The CompanySwitcher container component for the drop-in.
Version: 1.0.4
Configuration
The CompanySwitcher container provides the following configuration options:
| Parameter | Type | Req? | Description |
|---|---|---|---|
ariaLabel | string | No | Custom aria-label for the picker |
Slots
This container does not currently expose any customizable slots.
Usage
The following example demonstrates how to use the CompanySwitcher container:
import { CompanySwitcher } from '@dropins/storefront-company-switcher';
export default function MyComponent() { return ( <CompanySwitcher ariaLabel="Label" /> );}