UploadButtonProps
Represents the configuration options for the Upload button. Combines button styling props, upload behavior props, and event callbacks.
| Name | Type | Default | Description |
|---|---|---|---|
accept? |
|
The file types that can be selected. | |
disabled? |
|
Specifies if the Button is disabled (see example). Defaults to | |
fillMode? |
|
|
Configures the The available options are:
|
multiple? |
|
Whether multiple files can be selected. | |
onRemoveAttachment? |
|
Fires when the user removes an attachment by clicking the remove button.
In controlled mode (when | |
onSelectAttachments? |
|
Fires when the user selects files via the upload button. Provides both the newly selected files and the complete file state. | |
restrictions? |
|
Upload file restrictions. | |
rounded? |
|
|
Configures the The available options are:
|
size? |
|
|
Configures the The available options are:
|
svgIcon? |
|
Defines an SVGIcon to be rendered within the button. | |
themeColor? |
|
|
Configures the The available options are:
|