Appearance
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
| Parameter | Type |
|---|---|
props | Readonly<{ name: string; kind?: AttachmentKind; size?: number; href?: string; thumbnail?: string; className?: string; }> & RefAttributes<HTMLDivElement> |