UNPKG

@anoki/fse-ui

Version:

FSE UI components library

16 lines (15 loc) 444 B
import { j as a } from "./index.es180.js"; import { useState as t } from "react"; import { AlertDialogUI as c } from "./index.es89.js"; const A = () => { const [e, o] = t(!1), [s, r] = t({}), l = (i = {}) => { r(i), o(!0); }, n = () => { o(!1); }; return { openAlert: l, AlertDialog: () => /* @__PURE__ */ a.jsx(c, { isOpen: e, onClose: n, ...s }) }; }; export { A as useAlertDialog }; //# sourceMappingURL=index.es196.js.map