PromptBoxUploadButtonPropsPremium
Represents the props of the PromptBoxUploadButton component.
| Name | Type | Default | Description |
|---|---|---|---|
accept? |
|
The file types that can be selected. | |
disabled? |
|
|
Specifies if the Button is disabled (see example). |
endIcon? |
|
Sets an SVG icon or custom element after the content of the Button. For the custom component, consider using Phrasing content. Do not use Interactive content. | |
fillMode? |
|
|
Configures the tsx
|
icon? |
|
Defines the name for an existing icon in a KendoReact theme (see example). The icon renders inside the Button by a | |
iconClass? |
|
Defines a CSS class — or multiple classes separated by spaces — which apply to a | |
iconSize? |
|
|
Configures the tsx
|
imageAlt? |
|
Defines the alternative text of the image that renders inside the Button component. | |
imageUrl? |
|
Defines a URL which is used as an | |
multiple? |
|
Whether multiple files can be selected. | |
onRemoveAttachment? |
|
Fires when the user removes an attachment by clicking the remove button. Used for controlled attachment management in custom placement scenarios. tsx
| |
onSelectAttachments? |
|
Fires when the user selects files via the upload button. Used for controlled attachment management in custom placement scenarios. tsx
| |
restrictions? |
|
Restrictions on the files that can be uploaded. | |
rounded? |
|
|
Configures the The available options are:
tsx
|
selected? |
|
Sets the selected state of the Button. You can use this for controlled mode. | |
size? |
|
|
Configures the tsx
|
startIcon? |
|
Sets an SVG icon or custom element before the content of the Button. For the custom component, consider using Phrasing content. Do not use Interactive content. | |
svgIcon? |
|
Defines the SVG icon that renders inside the Button component. | |
themeColor? |
|
|
Configures the tsx
|
title? |
|
Sets the | |
togglable? |
|
|
Provides visual styling that shows if the Button is selected (see example). |
unstyled? |
|
The unstyled option classes. |