UNPKG

@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

4 lines (3 loc) 298 B
import type { Dispatch, StateUpdater } from 'preact/hooks'; export declare function useDebouncedState<T>(wait: number): [T | undefined, Dispatch<StateUpdater<T | undefined>>]; export declare function useDebouncedState<T>(wait: number, initialState?: T | (() => T)): [T, Dispatch<StateUpdater<T>>];