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

17 lines (16 loc) 703 B
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types'; import type { CompanyTypesValue } from '../../core/models/api/company-types-value'; import type { LegalEntityType } from '../../core/models/api/legal-entity-type'; import type { CountryCode } from '../../core/models/country-code'; import type { defaultFieldConfig } from './fieldConfig'; export interface TaxIdSchema { taxId?: string; taxIdAbsenceReason?: string; exemptedFromTax?: boolean; isUen?: boolean; } export interface TaxIdProps extends BaseInnerFormProps<TaxIdSchema> { country: CountryCode; companyType: CompanyTypesValue | LegalEntityType.TRUST; fieldConfig?: typeof defaultFieldConfig; }