Code

Props

Props
Data Type
Required

className

string

❌

id

string

βœ…

name

string

❌

label

string

❌

info

string

❌

description

string

❌

actionText

string

❌

helptext

string

❌

error

boolean

❌

errorMessage

string

❌

readOnly

boolean

❌

disabled

boolean

❌

removeButtonTooltipText

string

❌

files

'All' | 'Images' | 'Audio' | 'Video'

❌

onChange

Function

❌

Description

This component works exactly just like the FileUploadInput component, with the main difference it accepts multiple files instead a single one, and also it gives users the ability to drag and drop the files in the component dedicated area.

Event Response

Property
Data Type

id

string

files

[{

file: FileObj,

fileExtension: string,

fileName: string,

fileURL: string

}]

name

string

label

string

Example

Live Demo

For detailed code usage documentation, see the Storybooks for each framework below.

React

Last updated