ToolbarLabelItem
A static identity item, such as a file name or a dataset name.
@internote/canvas-sdkOn 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
idUnique within the environment's contribution.
stringlanguageThe programming language the text names, for a host that draws language marks.
stringtextThe text shown.
stringtypeMarks the item as a label.
'label'Declared in packages/canvas-sdk/src/toolbar/types.ts:105.