Properties required to create a Menu

interface IMenuCreationParams {
    checked?: boolean;
    enabled?: boolean;
    label: string;
    uniqueId?: string;
}

Properties

checked?: boolean

Whether the menu should show a checkmark

enabled?: boolean

Whether the menu should be enabled or disabled

label: string

Localized display text of the menu

uniqueId?: string

Custom unique identifier that will replace random id