Skip to content

Function: Attachment()

ts
function Attachment(props: Readonly<{
  name: string;
  kind?: AttachmentKind;
  size?: number;
  href?: string;
  thumbnail?: string;
  className?: string;
}> & RefAttributes<HTMLDivElement>): Block;

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

Experimental

Attachment — single file chip inside an Attachments wrapper.

Parameters

ParameterType
propsReadonly<{ name: string; kind?: AttachmentKind; size?: number; href?: string; thumbnail?: string; className?: string; }> & RefAttributes<HTMLDivElement>

Returns

Block

Matterway Assistant SDK Documentation