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.

21 lines (20 loc) 1.22 kB
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] = "6cc1f5f3-f101-490a-9f9c-d0ab47842458", e._sentryDebugIdIdentifier = "sentry-dbid-6cc1f5f3-f101-490a-9f9c-d0ab47842458"); } catch (e) {} import { r as useTranslation } from "./translation-BFxyJ1c5.js"; import { t as Header } from "./Header-CPmJyuoP.js"; import { n as AlertIcon } from "./Alert-C6gL3JIt.js"; import { t as DropinLayout } from "./DropinLayout-Ce8IeTl4.js"; import { jsx, jsxs } from "preact/jsx-runtime"; //#region src/components/Shared/AccountSetupRejected/AccountSetupRejected.tsx function AccountSetupRejected() { const { t } = useTranslation("common"); return /* @__PURE__ */ jsx(DropinLayout, { content: /* @__PURE__ */ jsxs("div", { children: [ /* @__PURE__ */ jsx(AlertIcon, { variant: "error" }), /* @__PURE__ */ jsx(Header, { title: t(($) => $["cantSetUpAcccount"]) }), /* @__PURE__ */ jsx("span", { children: t(($) => $["accountCantBeSetUp"]) }) ] }) }); } //#endregion export { AccountSetupRejected };