fui-fancyui
Version:
FancyUI Libary
21 lines (20 loc) • 575 B
JavaScript
"use client";
import { jsx as i } from "react/jsx-runtime";
import c from "../../molecules/SwipeUpModal/SwipeUpModal.js";
import { FancyPortal as f } from "../../shared/FancyPortal/FancyPortal.js";
function s({ appendToDomID: p, modals: n, modalConfig: r, closeModal: t }) {
return /* @__PURE__ */ i(f, { appendToID: p, children: n == null ? void 0 : n.map((e, o) => /* @__PURE__ */ i(
c,
{
...r,
...e.config,
onClose: () => t(e.id),
isOpen: e.status === "open",
children: e.children
},
o
)) });
}
export {
s as default
};