Skip to content

LabelledFileInput

Component | Source Code

extends FileInputProps, LabelledProps

Props Inheritance Hierarchy: Omit<ComponentPropsWithRef<“input”>, “children”> -> InputProps -> FileInputProps & LabelledProps




What position the label text appears relative to the input.




Callback for when the user uploads files.

Note that because of how HTML file inputs work, this callback is not additive. That is, if the user uploads 1 file, then uploads 2 files, the second invocation of this callback will just contain the 2 new files.