@adyen/adyen-platform-experience-web
Version:

11 lines (10 loc) • 511 B
JavaScript
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
};