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.

8 lines (7 loc) 258 B
import type { ReadonlySignal } from '@preact/signals'; /** * Returns a signal "watching" its given value. Whenever the value changes, the signal will update. * * @param value */ export declare const useWatchingSignal: <T>(value: T) => ReadonlySignal<T>;