Renders an image that is also its own upload button, for a dump's thumbnail and a playlist's cover.

Functions

f
ImagePicker(unnamed 0: ImagePickerProps): React.JSX.Element

Renders the image, or a placeholder, which opens the file picker on a click, Enter or Space. The picker only reads the file, and uploads nothing itself.

Interfaces

I
ImagePickerProps

Passed to ImagePicker by an edit page, which uploads the file and then passes the new image, or a local preview of it, as src.