Icon to be displayed for the menu entry.
Unique identifier. Relevant to be able to remove an entry.
Text to be displayed for the menu entry. Accepts a locale key. If the locale is namespaced, please set textNs as well. If no matching locale is found, the text is displayed as-is.
OptionalcolorOptionalgroupOverride the group of the entry resulting in a visual differentiation.
OptionaltextNamespace for the locale key of text.
Function to be called on click.