Skip to content

BlockSuite API Documentation / @blocksuite/blocks / NoteProps

Type Alias: NoteProps

NoteProps: object & GfxCompatibleProps

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

Defined in

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