BlockSuite API Documentation / @blocksuite/blocks / MenuItemGroup
Type Alias: MenuItemGroup<T>
MenuItemGroup<
T
>:object
Type Parameters
• T
Type declaration
items
items:
AdvancedMenuItem
<T
>[]
type
type:
string
when()?
optional
when: (context
) =>boolean
Parameters
• context: T
Returns
boolean
Defined in
packages/affine/components/dist/toolbar/types.d.ts:19