import { Meta, Story, ArgsTable, Canvas } from '@storybook/addon-docs/blocks';
import LanguageSwitcher from '../LanguageSwitcher';
import { localeMock } from '../../../../mocks/config/locale';

<Meta title="Atoms/LanguageSwitcher" component={LanguageSwitcher} />

# Language Switcher
<br />

## `Language Switchers` are used to change the active language.
<br />

### Default
<Canvas>
    <Story name="Default">
        <LanguageSwitcher {...localeMock} />
    </Story>
</Canvas>

## Usage Example
```jsx
import LanguageSwitcher from '@appdirect/sfb-theme-components/src/atoms/language-switcher/LanguageSwitcher';

<LanguageSwitcher />
```

## Props
<ArgsTable of={LanguageSwitcher} />
