import{j as e}from"./vendor-query-B2UbickB.js";import{M as l}from"./Modal-CSrxpXeM.js";function d({open:r,onClose:t,onConfirm:x,title:c,description:i,isPending:s,error:a}){return e.jsx(l,{open:r,onClose:t,title:c,children:e.jsxs("div",{className:"space-y-4",children:[e.jsx("p",{className:"text-sm text-text-secondary",children:i}),a&&e.jsx("p",{className:"text-xs text-status-error",children:a.message}),e.jsxs("div",{className:"flex justify-end gap-3 pt-2",children:[e.jsx("button",{onClick:t,className:"btn-secondary text-xs",children:"Cancel"}),e.jsx("button",{onClick:x,className:"bg-status-error text-white px-3 py-1.5 rounded-md text-xs hover:opacity-90 transition-opacity",disabled:s,children:s?"Deleting...":"Delete"})]})]})})}export{d as C};
//# sourceMappingURL=ConfirmDeleteModal-D9_1b4MW.js.map
