Public typealias

Signature
type TLUiSubMenu<TranslationKey extends string = string> = {
  id: string
  type: 'submenu'
  label: TranslationKey
  disabled: boolean
  readonlyOk: boolean
  children: TLUiMenuChild[]
}
References

TLUiMenuChild

Source

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

TLUiOverridesTLUiToast