UNPKG

@adyen/kyc-components

Version:

This guide assumes that you have already an account with Adyen. A legalEntity needs to be created, and you need to have a `legalEntityId` to instatiate a Component.

7 lines (6 loc) 353 B
import type { ExistingLegalEntity } from '../core/models/api/legal-entity'; import { type LegalEntityType } from '../core/models/api/legal-entity-type'; export interface UseLegalEntityTypeProps { legalEntity: ExistingLegalEntity; } export declare const useLegalEntityType: ({ legalEntity, }: UseLegalEntityTypeProps) => LegalEntityType | undefined;