Skip to content

BlockSuite API Documentation / @blocksuite/blocks / AttachmentBlockProps

Type alias: AttachmentBlockProps ​

AttachmentBlockProps: Object

Type declaration ​

caption? ​

caption?: string

embed ​

embed: boolean | BackwardCompatibleUndefined

Whether to show the attachment as an embed view.

name ​

name: string

size ​

size: number

sourceId? ​

sourceId?: string

type ​

type: string

MIME type

Source ​

packages/blocks/src/attachment-block/attachment-model.ts:21


Generated using typedoc-plugin-markdown and TypeDoc