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.

40 lines (39 loc) 1.47 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] = "4b494d5f-5219-4ce8-93bf-7310406771db", e._sentryDebugIdIdentifier = "sentry-dbid-4b494d5f-5219-4ce8-93bf-7310406771db"); } catch (e) {} import cx from "classnames"; import { jsx } from "preact/jsx-runtime"; var Tag_module_default = { tag: "_tag_4f7zg_1", "tag-grey": "_tag-grey_4f7zg_15", tagGrey: "_tag-grey_4f7zg_15", "tag-blue": "_tag-blue_4f7zg_20", tagBlue: "_tag-blue_4f7zg_20", "tag-orange": "_tag-orange_4f7zg_25", tagOrange: "_tag-orange_4f7zg_25", "tag-red": "_tag-red_4f7zg_30", tagRed: "_tag-red_4f7zg_30", "tag-teal": "_tag-teal_4f7zg_35", tagTeal: "_tag-teal_4f7zg_35", "tag-green": "_tag-green_4f7zg_41", tagGreen: "_tag-green_4f7zg_41" }; //#endregion //#region src/components/ui/atoms/Tag/Tag.tsx var variantMap = { grey: Tag_module_default.tagGrey, teal: Tag_module_default.tagTeal, red: Tag_module_default.tagRed, green: Tag_module_default.tagGreen, orange: Tag_module_default.tagOrange, blue: Tag_module_default.tagBlue }; var Tag = ({ className, variant = "blue", children }) => { return /* @__PURE__ */ jsx("span", { className: cx(Tag_module_default.tag, variantMap[variant], className), children }); }; //#endregion export { Tag as t };