@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.
10 lines (9 loc) • 340 B
TypeScript
import type { ComponentChildren } from 'preact';
import type { TaskType } from '../../stores/globalStore/taskTypes';
export interface HandlerContextValue {
onNavigateToTask?: (taskType: TaskType) => void;
}
export interface HandlerProviderProps {
children?: ComponentChildren;
onNavigateToTask?: (taskType: TaskType) => void;
}