"use strict";var e=require("react/jsx-runtime"),r=require("./page.js"),a=require("../primitives/button.js"),t=require("../primitives/text.js"),h=require("@styled/css"),q=require("@styled/jsx"),l=require("create-slots");const n=l.createSlot(r.Page.Icon),v=({children:c,cancelLabel:s,confirmLabel:i,title:o,message:u,onCancel:x=()=>{},onConfirm:d=()=>{},...g})=>l.createHost(c,j=>e.jsxs(r.Page,{...g,children:[e.jsx(r.Page.Icon,{children:j.get(n)}),e.jsxs(r.Page.Content,{children:[e.jsx(t.default.H3,{styles:{textAlign:"center"},children:o}),e.jsx(t.default,{size:"md",children:u}),e.jsxs(q.HStack,{className:h.css({pt:6}),children:[e.jsx(a.default,{onPress:d,label:i}),s&&e.jsx(a.default,{onPress:x,label:s})]})]}),e.jsx(r.Page.Footer,{})]})),P=Object.assign(v,{Icon:n});exports.Dialogue=P;
//# sourceMappingURL=dialogue.js.map
