@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) • 350 B
TypeScript
import type { Path } from 'wouter-preact';
export interface MemoryRouterHandle {
navigate: (to: Path, options?: {
replace?: boolean;
}) => void;
history: Path[];
}
export declare const MemoryRouterContext: import("preact").Context<MemoryRouterHandle | null>;
export declare const useMemoryRouter: () => MemoryRouterHandle | null;