@anoki/fse-ui
Version:
FSE UI components library
24 lines (23 loc) • 1.26 kB
JavaScript
import { j as e } from "./index.es180.js";
import { Root as l, Portal as r, Overlay as n, Content as c, Title as m, Description as x, Cancel as p } from "./index.es296.js";
import './components/ui/AlertDialogUI/AlertDialogUI.css';/* empty css */
import { Row as d } from "./index.es9.js";
import { Button as j } from "./index.es25.js";
const g = ({
title: t = "Alert",
description: o = "Funzione al momento non ancora disponibile",
confirmBtnLabel: i = "OK",
isOpen: s,
onClose: a
}) => /* @__PURE__ */ e.jsx(l, { open: s, onOpenChange: a, children: /* @__PURE__ */ e.jsxs(r, { children: [
/* @__PURE__ */ e.jsx(n, { className: "ui-alertDialogOverlay" }),
/* @__PURE__ */ e.jsxs(c, { className: "ui-alertDialogContent fs-6 text-slate-28", children: [
/* @__PURE__ */ e.jsx(m, { className: "ui-alertDialogTitle fw-bold fs-custom text-slate-20", children: t }),
/* @__PURE__ */ e.jsx(x, { className: "ui-alertDialogDescription", children: o }),
/* @__PURE__ */ e.jsx(d, { justifyContent: "flex-end", children: /* @__PURE__ */ e.jsx(p, { asChild: !0, children: /* @__PURE__ */ e.jsx(j, { variant: "primary", size: "3", children: i }) }) })
] })
] }) });
export {
g as AlertDialogUI
};
//# sourceMappingURL=index.es89.js.map