Skip to content

React: LocaleSwitchItem

Functions, types, and exports for React: LocaleSwitchItem.

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

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 1, 2026