@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
10 lines (9 loc) • 377 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;