Constructor
# new FileSelectZone(props) → {React.ReactElement}
Overview
A section used to upload a file.Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
props |
Object | |||
accept |
string |
<optional> |
".json,.xml,.csv" | Specifies what file types the user can pick from the file input dialog box. |
ButtonProps |
Object |
<optional> |
Props applied to the |
|
id |
string | The id attribute of the |
||
label |
string | The content of the |
||
LabelProps |
Object |
<optional> |
The props applied to the |
|
multilineTooltip |
boolean |
<optional> |
false | If |
onInputChange |
function | Callback fired when an input was changed. |
||
onInputDelete |
function | Callback fired when an input requests to be deleted. |
||
title |
React.ReactNode | The title property of the |
||
TooltipProps |
Object |
<optional> |
Props applied to the |
|
variant |
string | The custom type of uploaded file. |
||
UploadProps |
Object |
<optional> |
Props applied to the |
React.ReactElement