interface ApplicationHeaderControlsEntry {
    icon: string;
    label: string;
    action: string;
    visible: boolean;
    ownership: string | number;
}

Properties

icon: string

A font-awesome icon class which denotes the control button

label: string

The text label for the control button. This label will be automatically localized when the button is rendered

action: string

The action name triggered by clicking the control button

visible: boolean

Is the control button visible for the current client?

ownership: string | number

A key or value in CONST.DOCUMENT_OWNERSHIP_LEVELS that restricts visibility of this option for the current user. This option only applies to DocumentSheetV2 instances.