Skip to main content

LanguageSwitcherContextType

No behavioral description is attached to this declaration. The public signature, parameter and return types, and source location below document its published contract.

Kind: Type alias
Package: @ovok/native

Import​

import { LanguageSwitcherContextType } from '@ovok/native/language-switcher';

TypeScript shape​

type LanguageSwitcherContextType = {
selectedLanguage: string;
setSelectedLanguage: (language: string) => void;
};

This is a type-level export; it has no call parameters.

Public members​

MemberTypeDetails
selectedLanguagestring—
setSelectedLanguage(language: string): void—

Source​

View the declaration in the SDK source.