Skip to content

Type Alias: ToolbarItem ​

ts
type ToolbarItem = 
  | BuiltInToolbarItem
  | CustomToolbarItem;

A single toolbar button. Either a BuiltInToolbarItem (one of the four action ids) or a CustomToolbarItem (any other id, which must carry an icon and/or text).

Released under the MIT License.