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
| Name | Type | Required |
|---|---|---|
active | boolean | Yes |
label | string | Yes |
locale | TLocale | Yes |
testId | string | Yes |
Last updated: November 1, 2026