import{j as n,G as t,az as a,ax as i}from"./app-BgLa5dit.js";import{F as r}from"./w68yffRy.chunk.js";import{W as o}from"./CCwkbyVL.chunk.js";function s(e){return n.jsxs(a,{children:[n.jsx(i,{name:"name",label:"Name",placeholder:"Name your new workbench",showRequiredStar:!0}),n.jsxs("div",{className:"btn-container d-flex justify-content-end align-items-center",children:[n.jsx("button",{type:"button",className:"btn btn-link me-2",onClick:e.onClickCancel,children:"Cancel"}),n.jsx(r,{submitText:e.submitText,variant:"dark",isNew:!0})]})]})}l.defaultProps={initialValues:{name:""}};function l(e){return n.jsx(t,{initialValues:e.initialValues,validationSchema:o,onSubmit:e.onSubmit,children:n.jsx(s,{onClickCancel:e.onCancel,submitText:e.submitText})})}export{l as E};
//# sourceMappingURL=D1jLVCW-.chunk.js.map
