API Reference > ui-framework > Toolbar > ToolbarHelper ToolbarHelper Class Helper functions for defining an ToolbarComposer. Methods Name Description constructor(): ToolbarHelper constructChildToolbarItems(itemDefs: AnyItemDef[]): ActionButton | GroupButton[] Static Construct ActionButton and GroupButton definitions given an array to ItemDefs. createCustomDefinitionToolbarItem(itemPriority: number, itemDef: CustomItemDef, overrides?: Partial<CustomButtonDefinition>): CustomToolbarItem Static Construct CustomToolbarItem definitions given a CustomItemDef. createNodeForToolbarItem(item: CommonToolbarItem, onItemExecuted?: OnItemExecutedFunc): ReactNode Static createToolbarItemFromItemDef(itemPriority: number, itemDef: AnyItemDef, overrides?: Partial<ToolbarItem>): CommonToolbarItem Static Helper method to creates a generic toolbar item entry createToolbarItemsFromItemDefs(itemDefs: AnyItemDef[], startingItemPriority: number = 10, overrides?: Partial<ToolbarItem>): CommonToolbarItem[] Static getIconReactNode(item: ActionButton | GroupButton): ReactNode Static Defined in ui/framework/src/ui-framework/toolbar/ToolbarHelper.tsx Line 26 Last Updated: 11 June, 2024