Skip to content

BlockSuite API Documentation / @blocksuite/blocks / NoteProps

Type Alias: NoteProps

NoteProps: object

Type declaration

background

background: Color

displayMode

displayMode: NoteDisplayMode

edgeless

edgeless: NoteEdgelessProps

hidden

hidden: boolean

Deprecated

use displayMode instead hidden:true -> displayMode:NoteDisplayMode.EdgelessOnly: means the note is visible only in the edgeless mode hidden:false -> displayMode:NoteDisplayMode.DocAndEdgeless: means the note is visible in the doc and edgeless mode

index

index: string

xywh

xywh: SerializedXYWH

Defined in

packages/affine/model/dist/blocks/note/note-model.d.ts:19