Skip to main content

Function: TranslationProvider()

TranslationProvider(props): Element

Defined in: src/coreUtils/i18n.tsx:180

Provides i18n (translation) context for the UI elements.

Parameters​

ParameterTypeDescription

props

{ children: ReactNode; translation: Translation; }

‐

props.children

ReactNode

Component children to render with provided i18n context.

props.translation

Translation

Provided i18n implementation.

Returns​

Element

See​

useTranslation