AboutSupportDeveloper GuideVersion 20.0.5

Type alias WorkspaceButtonsConfig

WorkspaceButtonsConfig: WorkspaceButton[]

Controls the visibility as well as the order of buttons for workspace components on the Dock.

To omit a button from the Dock UI, simply omit it from the array.

The array must not contain duplicate values. Any duplicate values will be removed.

Example

Hide the Home button and move the Notifications button to the first position.

const workspaceButtonsConfig: WorkspaceButtonsConfig = [
'notifications',
'switchWorkspace',
'store'
];

Example

Hide all of the workspace buttons.

const workspaceButtonsConfig: WorkspaceButtonsConfig = [];