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.

8 lines (7 loc) 447 B
import type { TaskType } from '../stores/globalStore/taskTypes'; /** * Hook that automatically sends a "Landed on page" analytic event on task mount & initializes event task type. * Used on dropin level (i.e. Business Details, Individual, Business Financing etc.) to track visits. * This centralizes the common analytics pattern used across form components. */ export declare function useTaskLandedEvent(taskType: TaskType | undefined): void;