mirror of https://github.com/grafana/grafana.git
stackdriver: add react component for template query editor
This commit is contained in:
parent
94ac522109
commit
0792c182cc
|
|
@ -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>;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue