You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

12 lines
521 B

import { PluginConfigPage } from './components/PluginConfigPage';
import { AppPlugin } from '@grafana/data';
export const plugin = new AppPlugin<{}>().addConfigPage({
title: 'Configuration',
icon: 'fa fa-cog',
// @ts-ignore - Would expect a Class component, however works absolutely fine with a functional one
// Implementation: https://github.com/grafana/grafana/blob/fd44c01675e54973370969dfb9e78f173aff7910/public/app/features/plugins/PluginPage.tsx#L157
body: PluginConfigPage,
id: 'configuration',
});