Form is a small wrapper around an HTML <form>
element that automatically hooks into Formik's handleSubmit
and handleReset
. All other props are passed directly through to the DOM node.
// so...<Form />// is identical to this...<form onReset={formikProps.handleReset} onSubmit={formikProps.handleSubmit} {...props} />
The latest Formik news, articles, and resources, sent to your inbox.