Skip to content

BlockSuite API Documentation / @blocksuite/blocks / ImageBlockProps

Type Alias: ImageBlockProps

ImageBlockProps: object & Omit<GfxCommonBlockProps, "scale">

Type declaration

caption?

optional caption: string

height?

optional height: number

rotate

rotate: number

size?

optional size: number

sourceId?

optional sourceId: string

width?

optional width: number

Defined in

packages/affine/model/dist/blocks/image/image-model.d.ts:3