Solid: BuildLocaleSwitchItemsOptions
Functions, types, and exports for Solid: BuildLocaleSwitchItemsOptions.
Page outline
import type { BuildLocaleSwitchItemsOptions } from "@palamedes/solid"
type BuildLocaleSwitchItemsOptions<TLocale extends string> = {
currentLocale: TLocale;
labels?: Partial<Record<TLocale, string>>;
locales: readonly TLocale[];
testIdPrefix?: string;
};
Properties
| Name | Type | Required |
|---|---|---|
currentLocale | TLocale | Yes |
labels | Partial<Record<TLocale, string>> | No |
locales | readonly TLocale[] | Yes |
testIdPrefix | string | No |
Last updated: November 1, 2026