ToolbarLabelItem

A static identity item, such as a file name or a dataset name.

@internote/canvas-sdkInterface
On this page
import { ToolbarLabelItem } from '@internote/canvas-sdk';

Data like everything else: language names a programming language so a host with language marks can draw the right one, and a host without them shows the text.

#Fields

idRequired
Unique within the environment's contribution.
string
language
The programming language the text names, for a host that draws language marks.
string
textRequired
The text shown.
string
typeRequired
Marks the item as a label.
'label'

Declared in packages/canvas-sdk/src/toolbar/types.ts:105.

Last updated