import{jsxs as r,jsx as e}from"react/jsx-runtime";import{Page as o}from"./page.js";import n from"../primitives/button.js";import c from"../primitives/text.js";import{css as g}from"@styled/css";import{HStack as b}from"@styled/jsx";import{createSlot as x,createHost as H}from"create-slots";const i=x(o.Icon),j=({children:l,cancelLabel:t,confirmLabel:s,title:m,message:a,onCancel:f=()=>{},onConfirm:p=()=>{},...d})=>H(l,h=>r(o,{...d,children:[e(o.Icon,{children:h.get(i)}),r(o.Content,{children:[e(c.H3,{styles:{textAlign:"center"},children:m}),e(c,{size:"md",children:a}),r(b,{className:g({pt:6}),children:[e(n,{onPress:p,label:s}),t&&e(n,{onPress:f,label:t})]})]}),e(o.Footer,{})]})),C=Object.assign(j,{Icon:i});export{C as Dialogue};
//# sourceMappingURL=dialogue.js.map
