Skip to content

Core / locale: LocaleSwitchItem

Functions, types, and exports for Core / locale: LocaleSwitchItem.

Page outline
import type { LocaleSwitchItem } from "@palamedes/core/locale"

type LocaleSwitchItem<TLocale extends string = string> = {
    active: boolean;
    label: string;
    locale: TLocale;
    testId: string;
};

Properties

NameTypeRequired
activebooleanYes
labelstringYes
localeTLocaleYes
testIdstringYes

Source entry on GitHub

Last updated: November 10, 2026