import { Meta, Story, ArgsTable, Canvas } from '@storybook/blocks';
import LanguageSwitcher from '../LanguageSwitcher';
import { localeMock } from '../../../../mocks/config/locale';
import * as LanguageSwitcherStories from './LanguageSwitcher.stories';

<Meta of={LanguageSwitcherStories} />

# Language Switcher

<br />

## `Language Switchers` are used to change the active language.

<br />

### Default

<Canvas>
  <Story of={LanguageSwitcherStories.Default} />
</Canvas>

## Usage Example

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

<LanguageSwitcher />
```

## Props

<ArgsTable of={LanguageSwitcher} />
