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
Property | Type | Description |
---|---|---|
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 ) => void | This event is emitted when the locale is changed via context. |