@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) • 515 B
TypeScript
import type { ActionType, AdditionalEventProperties } from '../core/user-events';
import type { TranslationKey } from '../language/types';
export interface TrackNavigationProps {
actionType: ActionType;
toForm?: TranslationKey;
label: string;
returnValue?: 'success' | 'validation error';
additionalTrackingParams?: Partial<AdditionalEventProperties>;
}
export declare const trackNavigation: ({ actionType, toForm, label, returnValue, additionalTrackingParams, }: TrackNavigationProps) => void;