MenuItemHeading: {
    ariaLabel?: DynamicValue<string>;
    class?: string;
    label?: DynamicValue<string>;
    tooltip?: DynamicValue<string>;
    type: "heading";
}

A heading is a menu item that is not selectable and used to group menu items.

If followiung items (until next divider or heading) are not visible, the heading is not visible either.