Public function

Signature
function menuGroup(
  id: string,
  ...children: (false | TLUiMenuChild)[]
): null | TLUiMenuGroup
Parameters
NameDescription

id

string

children

(false | TLUiMenuChild)[]
Returns
null | TLUiMenuGroup
References

TLUiMenuChild, TLUiMenuGroup

Source

packages/tldraw/src/lib/ui/hooks/menuHelpers.ts

menuCustommenuItem