UNPKG

@adyen/adyen-platform-experience-web

Version:

![Platform Experience header](https://github.com/Adyen/adyen-platform-experience-web/assets/7926613/18094965-9e01-450e-8dc9-ea84e6b22c2b)

11 lines (10 loc) 511 B
import { jsx as t } from "../../../external/.pnpm/preact@10.28.2/node_modules/preact/jsx-runtime/dist/jsxRuntime.module.js"; import { useWizardFormContext as e } from "../../../hooks/form/wizard/WizardFormContext.js"; import { Fragment as m } from "../../../external/.pnpm/preact@10.28.2/node_modules/preact/dist/preact.module.js"; function l({ name: i, children: o }) { const { fieldsConfig: r } = e(); return r[i]?.visible ? /* @__PURE__ */ t(m, { children: o }) : null; } export { l as VisibleField };