import{j as t,_ as e}from"./main.2.8.1.js";import{z as n}from"./Note.BeM7sN-p.js";function m({saveConfig:l,edit:r,disabled:a,isLoading:s}){return r?t.jsx("div",{className:"txt-center w-9 mt-3",children:t.jsxs("button",{onClick:l,className:"btn btcd-btn-lg purple sh-sm flx",type:"button",disabled:a||s,children:[e("Save","bit-integrations"),s&&t.jsx(n,{size:20,clr:"#022217",className:"ml-2"})]})}):t.jsxs("div",{className:"txt-center",children:[t.jsx("h2",{className:"ml-3",children:e("Successfully Integrated","bit-integrations")}),t.jsxs("button",{onClick:l,className:"btn btcd-btn-lg purple sh-sm",type:"button",disabled:s,children:[e("Finish & Save","bit-integrations"),"✔",s&&t.jsx(n,{size:20,clr:"#022217",className:"ml-2"})]})]})}export{m as W};
