import{aI as o,ao as a,b8 as d,bU as s,L as h}from"./app-k0jcl5PQ.js";const r="sharev2.deleteShareContent",u=h.encloseNamespace(r);function k(e){const[n,c]=o.useState(!1);function l(){!n||e.loading||e.onDelete()}return a.jsxs("div",{className:"d-flex flex-column gap-3",children:[a.jsx("p",{className:"m-0",children:e.phrases.leadingSentence}),a.jsx("ul",{className:"m-0",children:e.phrases.bulletPoints.map((t,i)=>a.jsx("li",{children:t},i))}),a.jsx(d,{id:"ack",checked:n,onChange:t=>c(t.target.checked),label:e.phrases.acknowledgement}),a.jsxs(s,{children:[e.onBack&&a.jsx(s.Cancel,{onClick:e.onBack,text:e.phrases.backButton??u("backButton"),variant:"link"}),a.jsx(s.Submit,{onClick:l,text:e.phrases.deleteButton,variant:"danger",disabled:!n||e.loading,showSpinner:e.loading})]})]})}export{k as D};
//# sourceMappingURL=BEA7dEaU.chunk.js.map
