OptionalcomponentsA map of component names to React components, used to render more complex content
OptionalcontextA string representing the "context" of the resource key.
For an i18nKey of greeter.greet-entity, passing context: 'human' will look for a key of
greeter.greet-entity_human in the locale resources. If not found, it will fall back to the
base key (greeter.greet-entity).
The i18n resource key to translate
The t function to use, from the useTranslation hook
OptionalvaluesA map of values to interpolate into the translated string. The resources should use the
double curly bracket annotation to use them, eg {{petName}}. Will be escaped by React,
so no need to escape HTML.
Props for the
Translatecomponent.