import{j as e}from"./wp-i18n-shim-DUX0OV_V.js";import{D as d,a as m,b as x,c as h,d as j}from"./dialog-EtKUcLIM.js";import{B as a}from"./Button-BveKhP38.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-Bbm_78dn.js.map
