UNPKG

@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

14 lines (13 loc) 731 B
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types'; import type { LegalEntityType } from '../../core/models/api/legal-entity-type'; import type { AccountHolderOption } from '../../core/types/AccountHolder.types'; export declare const setupAccountMethods: readonly ["singpass", "manual"]; export type SetupAccountMethod = (typeof setupAccountMethods)[number]; export interface SetupAccountMethodSchema { setupAccountMethod: SetupAccountMethod | undefined; } export interface SetUpAccountMethodProps extends BaseInnerFormProps<SetupAccountMethodSchema> { handleNextClick: (setupAccountMethod: SetupAccountMethod) => void; accountHolder?: AccountHolderOption; legalEntityType: LegalEntityType; }