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

21 lines (20 loc) 464 B
export interface NonInputToken { type: 'nonInput'; char: string; includeInValue: boolean; displayEagerly: boolean; } export interface InputToken { type: 'input'; allow: RegExp | undefined; optional?: boolean; } export type MaskToken = NonInputToken | InputToken; export interface PossibleShift { fromIndex: number; shiftDistance: number; } export interface Mask { tokens: MaskToken[]; possibleShifts: PossibleShift[]; }