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.

6 lines (5 loc) 354 B
import type { TargetedKeyboardEvent } from 'preact'; import type { KeyboardKey } from '../../constants/keys'; type PropagationMode = 'stopIfMatches' | 'stop' | 'passthrough'; export declare const handleKeys: (keys: KeyboardKey[], callback: () => void, propagationMode?: PropagationMode) => (event: TargetedKeyboardEvent<HTMLElement>) => void; export {};