@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
13 lines (12 loc) • 784 B
TypeScript
import type { BaseInnerFormProps } from '../../core/hooks/useForm/types';
import type { CountryCode } from '../../core/models/country-code';
import type { CountryFieldSchema } from '../CountryField/types';
import type { CountryOfGoverningLawFieldSchema } from '../CountryOfGoverningLawField/types';
import type { LegalCompanyNameFieldSchema } from '../LegalCompanyNameField/types';
export type CompanyNameAndCountrySchema = LegalCompanyNameFieldSchema & CountryFieldSchema & CountryOfGoverningLawFieldSchema;
export interface CompanyNameAndCountryProps extends BaseInnerFormProps<CompanyNameAndCountrySchema> {
onCountryChange?(country: CountryCode): void;
disableCountry?: boolean;
id: 'companyNameAndCountry' | 'solePropNameAndCountry';
isTopLevelEntity: boolean;
}