Skip to content

Function: DocViewerList()

ts
function DocViewerList(props: UiDocViewerListProps): Block;

Defined in: src/renderer/blocks/index.ts:1183

Multi-document viewer — renders a tab strip over a mixed list of image / PDF / spreadsheet items.

Parameters

ParameterType
propsUiDocViewerListProps

Returns

Block

Example

ts
DocViewerList({
  items: [
    {filetype: FileType.IMAGE, src: '...', filename: 'a.png'},
    {filetype: FileType.PDF, src: '...'},
  ],
});

Matterway Assistant SDK Documentation