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.

23 lines (22 loc) 1.04 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] = "2f540718-f4ca-45bc-8421-f404e55db549", e._sentryDebugIdIdentifier = "sentry-dbid-2f540718-f4ca-45bc-8421-f404e55db549"); } catch (e) {} import { jsx, jsxs } from "preact/jsx-runtime"; //#region src/components/Shared/DropinLayout/DropinLayout.tsx /** @deprecated do not use in new code */ var DropinLayout = ({ content, footer }) => /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-dropin", children: [/* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__content", children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__content-main", children: content }) }), footer && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-dropin__footer-container", children: footer })] }); //#endregion export { DropinLayout as t };