17426: Add plugin ability to modify +New and account menu
[arvados-workbench2.git] / src / plugins / blank / index.tsx
index 416de42de070a9d312afa0a3b858c1927f55ebb1..0074c02a4c37d5fa984ade039cc6f215d8c1596b 100644 (file)
@@ -5,10 +5,18 @@
 // Example plugin.
 
 import { PluginConfig } from '~/common/plugintypes';
+import * as React from 'react';
 
 export const register = (pluginConfig: PluginConfig) => {
 
     pluginConfig.centerPanelList.push((elms) => []);
 
     pluginConfig.sidePanelCategories.push((cats: string[]): string[] => []);
+
+    pluginConfig.accountMenuList.push((elms) => []);
+    pluginConfig.newButtonMenuList.push((elms) => []);
+
+    pluginConfig.appBarLeft = <span />;
+    pluginConfig.appBarMiddle = <span />;
+    pluginConfig.appBarRight = <span />;
 };