Skip to content

BlockSuite API Documentation / @blocksuite/blocks / MenuItem

Type Alias: MenuItem

MenuItem: object & MenuItemPart

Type declaration

icon?

optional icon: TemplateResult<1>

label?

optional label: string

tooltip?

optional tooltip: string

type

type: string

Defined in

packages/affine/components/dist/toolbar/types.d.ts:7