mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
stackdriver: add react component for template query editor
This commit is contained in:
@@ -2,10 +2,12 @@ import StackdriverDatasource from './datasource';
|
||||
import { StackdriverQueryCtrl } from './query_ctrl';
|
||||
import { StackdriverConfigCtrl } from './config_ctrl';
|
||||
import { StackdriverAnnotationsQueryCtrl } from './annotations_query_ctrl';
|
||||
import { StackdriverTemplateQueryCtrl } from './templateQueryCtrl';
|
||||
|
||||
export {
|
||||
StackdriverDatasource as Datasource,
|
||||
StackdriverQueryCtrl as QueryCtrl,
|
||||
StackdriverConfigCtrl as ConfigCtrl,
|
||||
StackdriverAnnotationsQueryCtrl as AnnotationsQueryCtrl,
|
||||
StackdriverTemplateQueryCtrl as TemplateQueryCtrl,
|
||||
};
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
import React, { PureComponent } from 'react';
|
||||
|
||||
interface Props {}
|
||||
|
||||
export class StackdriverTemplateQueryCtrl extends PureComponent<Props> {
|
||||
constructor(props) {
|
||||
super(props);
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
console.log('componentDidMount');
|
||||
}
|
||||
|
||||
render() {
|
||||
return <h1>Hello Stackdriver Template Query</h1>;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user