Renders the file field of the dump forms, a FileDropZone bound to react-hook-form.

Functions

f
FileField<T extends FieldValues>(unnamed 0: FileFieldProps<T>): React.JSX.Element

Renders the drop zone with its label and the field's error. It must sit under a react-hook-form FormProvider, such as one given useApiForm's result.

Interfaces

I
FileFieldProps

Passed to FileField by a dump form. The field it names holds the File itself, or null.