type MenuItem
An object that represents a menu item, used by UITheme.MenuController.
static
type MenuItem = {
key: string;
text?: StringConvertible;
icon?: UIIconResource;
hint?: StringConvertible;
hintIcon?: UIIconResource;
labelStyle?: UIComponent.TextStyleType;
hintStyle?: UIComponent.TextStyleType;
separate?: never;
} | {
key?: never;
separate: true;
}Notes
- Each item represents either a selectable menu item (with key), or a separator.
Related
- class UIThemeA collection of default style options, colors, animations, effects, and icons, part of the global application context.
