FileField
An input used for selecting files.
Importing
1
import { FileField } from '@infinityfx/fluid';Usage
With annotation
API reference
FileField Props
round?
boolean
false
size?
'xsm' | 'sml' | 'med' | 'lrg'
'med'
variant?
'default' | 'minimal'
'default'
icon?
React.ReactNode
Icon element displayed on the left side of the field.
error?
any
Marks the field as invalid when truthy.
loading?
boolean
false
Shows a loading state on the upload button.
disabled?
boolean
false