property ImagePickerProps.onChange

Called with the file picked. The same file can be picked again.

Type

(file: File) => void

Usage

import { type ImagePickerProps } from "src/components/shared/ImagePicker.tsx";