Public function

Signature
function toolbarItem(toolItem: TLUiToolItem): TLUiToolbarItem
Parameters
NameDescription

toolItem

TLUiToolItem
Returns
TLUiToolbarItem
References

TLUiToolItem, TLUiToolbarItem

Source

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

TLUiTranslationKeytruncateStringWithEllipsis