FileFieldProps
FileFieldProps =
BaseFieldProps&object
Defined in: packages/ui/src/types.ts:814
Props for the FileField read-only display component.
Displays a file icon, name, and formatted size. Resolves download URLs from
@cfast/storage when a storage configuration is provided.
Type Declaration
Section titled “Type Declaration”fileName?
Section titled “fileName?”
optionalfileName:string
Display name for the file. Defaults to the value.
fileSize?
Section titled “fileSize?”
optionalfileSize:number
File size in bytes for formatted display.
storage?
Section titled “storage?”
optionalstorage:unknown
Storage configuration for download URL resolution.
value:
string|null|undefined
File key or path.
- FileListProps for displaying multiple files with actions.
- BaseFieldProps for inherited label and className props.