import e from"react";import{FieldComponent as r}from"./Field.js";var t=function(t){var n=t.form,m=t.register,a=t.handleSubmit,o=t.errors,i=t.onSubmit;return e.createElement("form",{onSubmit:a(i),noValidate:!0,className:"form"},(n.fields||[]).map((function(t){return e.createElement(r,{key:t.id,field:t,register:m,errors:o})})),e.createElement("button",{className:"button-link btn-contact red mt-3"},e.createElement("span",{className:"chevron right"},"Submit")))};export{t as FormComponent};
//# sourceMappingURL=Form.js.map
