@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) • 488 B
TypeScript
import type { BaseFormFieldProps } from '../../core/hooks/useForm/types';
import type { CountryCode } from '../../core/models/country-code';
import type { ProvinceCode } from '../../core/models/province-code';
import type { StateCode } from '../../core/models/state-code';
export interface StateFieldSchema {
stateOrProvince?: StateCode | ProvinceCode | undefined;
}
export interface StateFieldProps extends BaseFormFieldProps<StateFieldSchema> {
selectedCountry?: CountryCode;
}