Public typealias

Signature
type TLUiMenuGroup = {
  id: string
  type: 'group'
  checkbox: boolean
  disabled: boolean
  readonlyOk: boolean
  children: TLUiMenuChild[]
}
References

TLUiMenuChild

Source

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

TLUiMenuChildTLUiMenuItem