property FileDropZoneProps.onChange

Called with the file dropped or picked, or with null when it is removed.

Type

(file: File | null) => void

Usage

import { type FileDropZoneProps } from "src/components/form/FileDropZone.tsx";