@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
11 lines (10 loc) • 471 B
TypeScript
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
import type { CountryCode } from '../../core/models/country-code';
import type { PhoneFieldSchema } from '../PhoneField/types';
export type ContactDetailsSchema = PhoneFieldSchema & {
email?: string;
};
export interface ContactDetailsProps extends BaseInnerFormProps<ContactDetailsSchema> {
country: CountryCode;
triggerValidation?: (schema?: Array<keyof PhoneFieldSchema>) => void;
}