FileListProps
FileListProps =
object
Defined in: packages/ui/src/types.ts:1288
Props for the FileList component.
Displays a list of uploaded files with metadata, download links, and
permission-aware delete actions. Resolves download URLs from @cfast/storage
when a storage configuration is provided.
- FileListFile for the shape of each file entry.
- FileFieldProps for the inline field variant used in tables.
Properties
Section titled “Properties”deleteAction?
Section titled “deleteAction?”
optionaldeleteAction:ClientDescriptor
Defined in: packages/ui/src/types.ts:1294
Action descriptor for the delete button on each file.
files:
FileListFile[]
Defined in: packages/ui/src/types.ts:1290
Array of file metadata to display.
onDownload()?
Section titled “onDownload()?”
optionalonDownload: (file) =>void
Defined in: packages/ui/src/types.ts:1296
Custom download handler.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”void
storage?
Section titled “storage?”
optionalstorage:unknown
Defined in: packages/ui/src/types.ts:1292
Storage configuration for download URL resolution.