UNPKG

@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.

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[]; }