Skip to content

Function: FileItem()

ts
function FileItem(props: FileItemProps): Block;

Defined in: packages/sdk/src/renderer/blocks/index.ts:2714

Experimental

FileItem — a single file row: file icon, title/subtitle, an optional error message, and an optional action button (delete / download / view). The action callback fires when the button is clicked.

Parameters

ParameterType
propsFileItemProps

Returns

Block

Matterway Assistant SDK Documentation