17426: Add plugin ability to override app bar.
[arvados-workbench2.git] / src / plugins / blank / index.tsx
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 // Example plugin.
6
7 import { PluginConfig } from '~/common/plugintypes';
8 import * as React from 'react';
9
10 export const register = (pluginConfig: PluginConfig) => {
11
12     pluginConfig.centerPanelList.push((elms) => []);
13
14     pluginConfig.sidePanelCategories.push((cats: string[]): string[] => []);
15
16     pluginConfig.appBarLeft = <span />;
17     pluginConfig.appBarMiddle = <span />;
18     pluginConfig.appBarRight = <span />;
19 };