import{j as i,a7 as r,x as t,V as u}from"./index-Bf3Szspx.js";function x({onCancel:a=()=>null,onSubmit:e=()=>null,submitText:s="",cancelText:o="",loading:l=!1,submitDisabled:c=!1,className:d="",buttonsProps:n={}}){return i.jsxs(r.Container,{className:d,children:[i.jsx(t,{onClick:a,variant:"outlined",width:"auto",...n,children:o||i.jsx(u,{id:"common.cancel"})}),i.jsx(t,{type:"submit",loading:l,disabled:c,onClick:e,width:"auto",...n,children:s})]})}export{x as A};