UNPKG

@hhgtech/hhg-components

Version:
14 lines (13 loc) 567 B
import React from 'react'; import { TranslationValues } from "./translationsContext"; import { LocaleType } from "../interfaces/types"; export type TranslationLocaleType = LocaleType | 'vi-VN_MB'; export type TranslationsOverridesType = { [k in TranslationLocaleType]: TranslationValues; }; export type TranslationsProviderProps = { children: unknown; values?: TranslationValues; locale: TranslationLocaleType; }; export declare const TranslationsProvider: ({ locale, values, children, }: TranslationsProviderProps) => React.JSX.Element;