diff --git a/frontend/src/components/TitleView.tsx b/frontend/src/components/TitleView.tsx index 6ae6b2ae..111f8c80 100644 --- a/frontend/src/components/TitleView.tsx +++ b/frontend/src/components/TitleView.tsx @@ -49,15 +49,15 @@ const TitleView: VFC = () => { } return ( -
+ -
{activePlugin.name}
-
+ {activePlugin?.titleView ||
{activePlugin.name}
} + ); }; diff --git a/frontend/src/plugin.ts b/frontend/src/plugin.ts index c8467580..fa1bb28a 100644 --- a/frontend/src/plugin.ts +++ b/frontend/src/plugin.ts @@ -5,6 +5,7 @@ export interface Plugin { content?: JSX.Element; onDismount?(): void; alwaysRender?: boolean; + titleView?: JSX.Element; } export enum InstallType {