Renders the error of a failed submit, for the forms built with useApiForm.

Functions

f
FormError(unnamed 0: FormErrorProps): React.JSX.Element | null

Renders the form's root error as an ErrorCard, or nothing without one. useApiForm's submit sets that error when the request fails. It must sit under a react-hook-form FormProvider.

Interfaces

I
FormErrorProps

Passed to FormError by a form, to say what failed.