Appearance
Function: Attachment()
ts
function Attachment(props: Readonly<{
name: string;
className?: string;
href?: string;
kind?: AttachmentKind;
size?: number;
thumbnail?: string;
}> & RefAttributes<HTMLDivElement>): Block;Defined in: packages/sdk/src/renderer/blocks/index.ts:2510
Experimental
Attachment — single file chip inside an Attachments wrapper.
Parameters
| Parameter | Type |
|---|---|
props | Readonly<{ name: string; className?: string; href?: string; kind?: AttachmentKind; size?: number; thumbnail?: string; }> & RefAttributes<HTMLDivElement> |