ContentToolWidgetComposer Function

ContentToolWidgetComposer composes a Tool Widget with no tools defined by default. UiItemsProviders

are used to populate the toolbars. See StandardContentToolsProvider.

ContentToolWidgetComposer(props: ContentToolWidgetComposerProps): Element

example
ToolWidget with no corner button

<ContentToolWidgetComposer />

ToolWidget with corner button

const cornerButton = <BackstageAppButton icon={"icon-bentley-systems"} />;
<ContentToolWidgetComposer cornerButton={cornerButton} />

ToolWidget with custom corner button

const cornerButton = <BackstageAppButton icon={"icon-bentley-systems"}
  label="Toggle Backstage display",
  execute={() => BackstageManager.getBackstageToggleCommand().execute()} />;
<ContentToolWidgetComposer cornerButton={cornerButton} />

BackstageCornerButton,

Parameter Type Description
props ContentToolWidgetComposerProps  

Returns - Element

Defined in

Last Updated: 20 June, 2023