Hierarchy

Properties

accept?: string

Input 'accept' attribute. MIME Types can be set here to limit which file types can be selected

className?: string

CSS Class name for additional styles

disabled?: boolean

Whether or not the control is disabled (default: false)

error?: string

If set, indicates the control has an error and will display this prop as the error message

id?: string

Form control id

inlineMode?: boolean

Hide options not needed in the “inline” scenario

label?: string

Form control label

name: string

Name of form control, required and must be unique from other form control names. This name should match the the name of the object corresponding to this control.

onFileSelected: ((args) => void)

Type declaration

    • (args): void
    • Callback called when a file is dropped or selected

      Parameters

      Returns void

placeholder?: string

Input placeholder

tooltipContent?: ReactNode

A tooltip of additional information

value?: FileUpload

Current value of the file upload

Generated using TypeDoc