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.

13 lines (12 loc) 692 B
try { let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack; n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "dbe68b34-154d-48d0-9188-f4c4dd3fd970", e._sentryDebugIdIdentifier = "sentry-dbid-dbe68b34-154d-48d0-9188-f4c4dd3fd970"); } catch (e) {} import { t as ToastContext } from "./ToastContext-Cx99hkTh.js"; import { useContext } from "preact/hooks"; //#region src/context/ToastContext/useToastContext.ts function useToastContext() { return useContext(ToastContext); } //#endregion export { useToastContext as t };