Home > @findkit/ui > useTranslate

useTranslate variable

Get the translate function.

Signature:

useTranslate: <T = "___">() => (key: keyof TranslationStrings | T, data?: Record<string, string | number> | undefined) => string