UNPKG

@anoki/fse-ui

Version:

FSE UI components library

32 lines (31 loc) 1.24 kB
import { j as a } from "./index.es244.js"; import { Close as o, Title as t } from "./index.es324.js"; import './components/ui/CardInfoDoctorModal/CardInfoDoctorModalHeader/CardInfoDoctorModalHeader.css';/* empty css */ import { Button as d } from "./index.es28.js"; import { Close as l } from "./index.es161.js"; const x = ({ closeButton: r = "Chiudi", onCloseClick: e, children: s }) => /* @__PURE__ */ a.jsxs("header", { className: "ui-card-info-modal-header bg-white", children: [ /* @__PURE__ */ a.jsx(o, { asChild: !0, className: "ui-card-info-modal-header-close", children: /* @__PURE__ */ a.jsxs( d, { size: "4", variant: "closeModal", "aria-label": "Chiudi modale", onClick: (i) => { i.stopPropagation(), e == null || e(); }, children: [ /* @__PURE__ */ a.jsx("span", { className: "ui-card-info-modal-header-close-label", children: r }), /* @__PURE__ */ a.jsx(l, { className: "ml-x8", width: 24, height: 24 }) ] } ) }), /* @__PURE__ */ a.jsx(t, { className: "fs-6 md-fs-custom text-slate-20 fw-bold header-title-with-children", children: s }) ] }); export { x as CardInfoDoctorModalHeader }; //# sourceMappingURL=index.es343.js.map