UNPKG

@particular.cloud/i18n-react

Version:

i18n-react builds on top of i18n-js and implements a translation hook and provider

7 lines (6 loc) 262 B
import { TranslationParams } from '@particular.cloud/i18n-js'; /** * useText: hook to query and populate your localized application text */ declare const useText: ({ key, language, values, isolate }: TranslationParams) => string; export default useText;