@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) • 647 B
TypeScript
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
import type { CompanyTypesValue } from '../../core/models/api/company-types-value';
import type { CountryCode } from '../../core/models/country-code';
import type { defaultFieldConfig } from './fieldConfig';
export interface BusinessRegistrationNumberSchema {
registrationNumber?: string;
exemptedFromRegistrationNumber?: boolean;
}
export interface BusinessRegistrationNumberProps extends BaseInnerFormProps<BusinessRegistrationNumberSchema> {
country: CountryCode;
companyType?: CompanyTypesValue | 'trust';
fieldConfig?: typeof defaultFieldConfig;
}