Captain is currently in ALPHA. We are happy to get your feedback
Core API
Language Select

Module: language-select

Table of contents

Variables

Functions

Variables

localeFlags

Const localeFlags: Record<string, ReactElement>

Defined in

src/client/organisms/language-select/index.tsx:45 (opens in a new tab)


localeNames

Const localeNames: Record<string, string>

Defined in

src/client/organisms/language-select/index.tsx:30 (opens in a new tab)

Functions

LanguageSelect

LanguageSelect(): Element

Returns

Element

Defined in

src/client/organisms/language-select/index.tsx:79 (opens in a new tab)


LanguageSelectList

LanguageSelectList(): Element

Returns

Element

Defined in

src/client/organisms/language-select/index.tsx:129 (opens in a new tab)


useLocalizedPath

useLocalizedPath(): Object

Returns

Object

NameType
changeLanguage(locale_: string) => Promise<boolean>
defaultLocalestring
localestring
localesstring[]

Defined in

src/client/organisms/language-select/index.tsx:60 (opens in a new tab)