Skip to content

BlockSuite API Documentation / @blocksuite/blocks / renderGroups

Function: renderGroups()

renderGroups<T>(groups, context): Iterable<unknown>

Type Parameters

T

Parameters

groups: MenuItemGroup<T>[]

context: T

Returns

Iterable<unknown>

Defined in

packages/affine/components/dist/toolbar/utils.d.ts:9