@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) • 348 B
TypeScript
import type { TaskType } from '../stores/globalStore/taskTypes';
export interface NavigateBridge {
to: (task: TaskType | 'default', params?: Record<string, string>) => void;
back: (stepCount?: number) => void;
replace: (task: TaskType, params?: Record<string, string>) => void;
}
export declare const useNavigate: () => NavigateBridge;