@adyen/kyc-components
Version:
This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.
12 lines (11 loc) • 354 B
TypeScript
import { Language } from '../../language/Language';
type I18nContextValue = {
i18n: Language;
setLocale: (locale: string) => void;
};
export declare const I18nContext: import("preact").Context<I18nContextValue>;
/**
* @deprecated in favor of I18next's `useTranslation`
*/
export declare const useI18nContext: () => I18nContextValue;
export {};