create-grafana-plugin 0.2.6

CLI tool to scaffold production-ready Grafana plugin projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// @managed by create-grafana-plugin — do not edit
import type { AppPluginMeta, PluginConfigPageProps } from '@grafana/data';
import { Button } from '@grafana/ui';
import type React from 'react';

interface Props extends PluginConfigPageProps<AppPluginMeta> {}

export const AppConfig: React.FC<Props> = ({ plugin }) => {
  return (
    <div>
      <h3>{{ pascal_case_name }} Configuration</h3>
      <p>Plugin ID: {{ plugin_id }}</p>
      <p>Version: {plugin.meta.info.version}</p>
      <Button>Save</Button>
    </div>
  );
};