API reference / @localizer/x-react / LocalizationContext
Function: LocalizationContext() experimental
LocalizationContext(
__namedParameters
):FunctionComponentElement
<ProviderProps
<undefined
|LocalizerContext
>>
Defined in: components/localization-context.ts:59
Component for providing localization context in Vue applications. This component initializes a localizer based on the provided initial locale or automatically determines the initial locale if not specified. It also emits an event when the locale changes.
Parameters
Parameter | Type |
---|---|
__namedParameters | LocalizationContextProps |
Returns
FunctionComponentElement
<ProviderProps
<undefined
| LocalizerContext
>>