The options for the button.
The SVG string for the icon.
The ID for the new navbar item.
OptionalonClick?: (arg0: HTMLElement) => voidThe callback to run when the button is clicked. The button element is passed as an argument.
OptionaltooltipText?: stringThe tooltip text for the button.
A promise that resolves with the button element when it's created, or null.
Creates a new button in the navbar.