initial setup, formik, fields, layout

This commit is contained in:
Jesus Vasquez 2024-03-03 22:09:33 -05:00
parent 765cc0c7cf
commit b23d706180
16 changed files with 578 additions and 53 deletions

View file

@ -0,0 +1,10 @@
import React from "react"
const ErrorMessage = ({ touched, error }: { touched: boolean; error?: string }) => {
if (touched && error) {
return <p className="mt-1">{error}</p>
}
return null
}
export default ErrorMessage