@anoki/fse-ui
Version:
FSE UI components library
31 lines (30 loc) • 1.03 kB
JavaScript
import { j as e } from "./index.es244.js";
import { Title as r, Close as t } from "./index.es324.js";
import { Button as l } from "./index.es28.js";
import './components/ui/ConsentModal/ConsentModalHeader/ConsentModalHeader.css';/* empty css */
import { Close as i } from "./index.es161.js";
const x = ({
closeButton: s = "Chiudi",
onCloseClick: o,
children: a
}) => /* @__PURE__ */ e.jsxs("header", { className: "ui-consent-modal-header shadow bg-white", children: [
/* @__PURE__ */ e.jsx(r, { className: "fs-6 md-fs-custom text-slate-20 fw-bold", children: a }),
/* @__PURE__ */ e.jsx(t, { asChild: !0, className: "ui-consent-modal-header-close", children: /* @__PURE__ */ e.jsxs(
l,
{
size: "4",
textColor: "primary",
bg: "transparent",
"aria-label": "Chiudi modale",
onClick: o,
children: [
s,
/* @__PURE__ */ e.jsx(i, { className: "ml-x8" })
]
}
) })
] });
export {
x as ConsentModalHeader
};
//# sourceMappingURL=index.es330.js.map