Optional
buttonsA list of buttons that will resolve the message. By default, a Proceed
button with value ok
. The helper will resolve with the value of the
button that was clicked
Optional
descriptionA description shown under the title. Usually, describes the contents of the step
Optional
errorThe error message to display if the user tries to upload too many files.
Optional
fileThe maximum number of files that can be uploaded.
Optional
fileThe text of the upload file input.
The title of the file upload dialog.
Optional
loadingThe text to display while the file is being uploaded.
Optional
overlayObscure the content behind the message and prevent interaction
Markdown text to show in the content. Usually, the instructions for the current step. It also accepts ReactNodes
Optional
titleA title shown in the header. Usually, the title of the step
The label to use for the upload button.
Optional
validate/**
DroppedFile
object and returns a promise that resolves to an object with isValid
and message
properties.isValid
property is false
, the message
property should contain an error message.isValid
property is true
, the message
property should be empty.validate
function is not provided, all files will be considered valid.Generated using TypeDoc
The options to configure the file upload dialog.