Skip to content

API reference / @localizer/x-react / LocalizationContextProps

Type Alias: LocalizationContextProps
experimental

LocalizationContextProps = object

Defined in: components/localization-context.ts:28

Props for the LocalizationProvider component.

Properties

PropertyTypeDescription
locale?LocaleCode
experimental
The locale to set for the localizer. This is optional and will default to the configured fallback language if not provided.
onUpdateLocale?(locale) => voidThis event is emitted when the locale is changed via context.