@adyen/kyc-components
Version:
`adyen-kyc-components` provides the required pieces to build an onboarding flow based on a legal entity. To onboard and verify users, you need to create a user interface (UI) to collect user data. To speed up building your integration, Adyen offers onboar
15 lines (14 loc) • 488 B
TypeScript
import type translations from './locales/en-US.json';
export type TranslationKey = keyof typeof translations;
export type TranslationItem = string;
export type Translations = Record<TranslationKey, TranslationItem>;
export type TranslationObject = {
key: TranslationKey;
values: Record<string, string>;
};
export type Translatable = TranslationKey | TranslationObject;
export type CustomTranslations = {
[locale: string]: {
[translationKey: string]: string;
};
};