Class

FileSelectZone

FileSelectZone(props) → {React.ReactElement}

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 StyledIconButton element.

id string

The id attribute of the CustomUpload element.

label string

The content of the Typography element.

LabelProps Object <optional>

The props applied to the Typography element.

multilineTooltip boolean <optional>
false

If true tooltip will display text in multiple lines.

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 CustomTooltip element.

TooltipProps Object <optional>

Props applied to the CustomTooltip element.

variant string

The custom type of uploaded file.

UploadProps Object <optional>

Props applied to the CustomUpload element.

View Source Utils/Inputs/FileSelectZone.js, line 46

React.ReactElement