Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ImageBlockProps

Type alias: ImageBlockProps

ImageBlockProps: object

Type declaration

caption?

optional caption: string

height?

optional height: number

index

index: string

rotate

rotate: number

size?

optional size: number

sourceId?

optional sourceId: string

width?

optional width: number

xywh

xywh: SerializedXYWH

Source

packages/blocks/src/image-block/image-model.ts:7