grafana/public/app/plugins/panel/text2/module.tsx

15 lines
328 B
TypeScript
Raw Normal View History

import React, { PureComponent } from 'react';
import { PanelProps, ReactPanelPlugin } from '@grafana/ui';
2018-01-02 07:52:30 -06:00
export class Text2 extends PureComponent<PanelProps> {
2019-02-07 14:22:16 -06:00
constructor(props: PanelProps) {
2018-01-02 07:52:30 -06:00
super(props);
}
render() {
2018-10-14 11:19:49 -05:00
return <h2>Text Panel!</h2>;
2018-01-02 07:52:30 -06:00
}
}
export const reactPanel = new ReactPanelPlugin(Text2);