Table of contents

Public interface

Signature
interface TLUiActionItem {}
Source

packages/tldraw/src/lib/ui/hooks/useActions.tsx


Properties

checkbox

Public propertysignature

Signature
checkbox?: boolean

contextMenuLabel

Public propertysignature

Signature
contextMenuLabel?: TLUiTranslationKey
References

TLUiTranslationKey


icon

Public propertysignature

Signature
icon?: TLUiIconType
References

TLUiIconType


id

Public propertysignature

Signature
id: string

kbd

Public propertysignature

Signature
kbd?: string

label

Public propertysignature

Signature
label?: TLUiTranslationKey
References

TLUiTranslationKey


Public propertysignature

Signature
menuLabel?: TLUiTranslationKey
References

TLUiTranslationKey


onSelect

Public propertysignature

Signature
onSelect: (source: TLUiEventSource) => Promise<void> | void
References

TLUiEventSource


readonlyOk

Public propertysignature

Signature
readonlyOk: boolean

shortcutsLabel

Public propertysignature

Signature
shortcutsLabel?: TLUiTranslationKey
References

TLUiTranslationKey


title

Public propertysignature

Signature
title?: string

TldrawUiPropsTLUiActionsContextType