UNPKG

@anoki/fse-ui

Version:

FSE UI components library

39 lines (38 loc) 1.76 kB
import { j as o } from "./index.es244.js"; import { Root as r, Portal as t, Content as c } from "./index.es324.js"; import './components/ui/InfoModal/InfoModal.css';/* empty css */ import { Row as s } from "./index.es9.js"; import { Actions as d } from "./index.es184.js"; import { Close as m } from "./index.es161.js"; const b = ({ open: e, setOpen: i, id: a = "", title: l, text: n }) => /* @__PURE__ */ o.jsx(r, { open: e, onOpenChange: i, children: /* @__PURE__ */ o.jsx(t, { children: /* @__PURE__ */ o.jsx(c, { className: "shadow br-x4 ui-info-modal-body", id: a, children: /* @__PURE__ */ o.jsx("div", { className: "bg-lightblue-a03 ui-info-modal-container shadow br-x4", children: /* @__PURE__ */ o.jsxs(s, { p: "x20", gap: "x16", children: [ /* @__PURE__ */ o.jsxs("div", { className: "ui-info-modal-icon base-row bg-lightblue-a03", children: [ /* @__PURE__ */ o.jsx("div", { className: "ui-info-modal-badge-container", children: /* @__PURE__ */ o.jsx("div", { className: "ui-info-modal-badge" }) }), /* @__PURE__ */ o.jsx( s, { className: "ui-info-modal-action-container", alignItems: "center", justifyContent: "center", children: /* @__PURE__ */ o.jsx(d, { width: 24, height: 26, color: "slate-28" }) } ) ] }), /* @__PURE__ */ o.jsxs("div", { className: "w-full", children: [ /* @__PURE__ */ o.jsx("p", { className: "my-x8 fs-5 fw-semibold", children: l }), /* @__PURE__ */ o.jsx("p", { children: n }) ] }), /* @__PURE__ */ o.jsx( m, { className: "cursor-pointer", onClick: () => i(!1), width: 32, height: 32, color: "slate-28" } ) ] }) }) }) }) }); export { b as InfoModal }; //# sourceMappingURL=index.es80.js.map