import{j as e}from"./client-BbMi5ewG.js";import{D as d,a as m,b as x,c as h,d as j}from"./dialog-C9IQloQy.js";import{B as a}from"./Button-1dacbE2T.js";const p=({open:n,onClose:s,onConfirm:o,title:r="Are you sure?",description:i="This action cannot be undone.",confirmText:t="Delete",cancelText:l="Cancel",confirmVariant:c="destructive"})=>e.jsx(d,{open:n,onOpenChange:s,children:e.jsxs(m,{className:"max-w-sm",children:[e.jsx(x,{children:e.jsx(h,{children:r})}),e.jsx("p",{className:"text-sm text-muted-foreground",children:i}),e.jsxs(j,{children:[e.jsx(a,{variant:"ghost",onClick:()=>s(!1),children:l}),e.jsx(a,{variant:c,onClick:o,children:t})]})]})});export{p as C};
//# sourceMappingURL=ConfirmDialog-C2asEKXG.js.map
