InputFile

With the InputFile you can select a file on your computer and prepare it to be sent.

Example

Theme

Props

Name

Type

Default value

Description

name

string

''

The name of the input file.

placeholder

string

''

The placeholder of the input file.

onChange
required

func

null

The function to be called when a file is selected. @param: the html file object.

variant

enum

'normal'

The type of variation to display