UNPKG

@hhgtech/hhg-components

Version:
15 lines (14 loc) 494 B
/// <reference types="react" /> import { TranslationKeys } from "./translationKeys"; import { TranslationLocaleType } from "./translationsProviderV2"; export type TranslationValues = { [k in TranslationKeys]?: string; }; export type TranslationsContextValue = { locale: TranslationLocaleType; values: TranslationValues; } | null; export declare const TranslationsContext: import("react").Context<{ locale: TranslationLocaleType; values: TranslationValues; }>;