Public typealias

Signature
type TLUiMenuItem = {
  id: string
  type: 'item'
  readonlyOk: boolean
  actionItem: TLUiActionItem
  disabled: boolean
  checked: boolean
}
References

TLUiActionItem

Source

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

TLUiMenuGroupTLUiMenuSchema