MenuOption type
An individual option in the dropdown menu. Can be either the string literal separator for a menu separator item, or an array for normal action menu items. In the latter case, the first element is the human-readable value (text, ImageProperties object, or HTML element), and the second element is the language-neutral value.
Signature:
export type MenuOption = [
string | ImageProperties | HTMLElement,
string,
string?
] | 'separator';
References: ImageProperties