blockly > utils > toolbox > ButtonOrLabelInfo

utils.toolbox.ButtonOrLabelInfo type

The information needed to create either a button or a label in the flyout.

Signature:

export type ButtonOrLabelInfo = ButtonInfo | LabelInfo;

References: ButtonInfo, LabelInfo