SubmitHandler
Type that defines the submission handler function of the form.
Definition
SubmitHandler
(values:
FieldValues
, event:SubmitEvent
) =>MaybePromise<
any
>
Type that defines the submission handler function of the form.
SubmitHandler
(values: FieldValues
, event: SubmitEvent
) => MaybePromise<any
>