浏览代码

Add React container

Tobias Skarhed 7 年之前
父节点
当前提交
472b880939
共有 1 个文件被更改,包括 20 次插入0 次删除
  1. 20 0
      public/app/plugins/panel/heatmap/HeatmapRenderContainer.tsx

+ 20 - 0
public/app/plugins/panel/heatmap/HeatmapRenderContainer.tsx

@@ -0,0 +1,20 @@
+import React from 'react';
+import HeatmapRenderer from './rendering';
+import { HeatmapCtrl } from './heatmap_ctrl';
+
+export class HeatmapRenderContainer extends React.Component {
+  renderer: any;
+  constructor(props) {
+    super(props);
+    this.renderer = HeatmapRenderer(
+      this.props.scope,
+      this.props.children[0],
+      [],
+      new HeatmapCtrl(this.props.scope, {}, {})
+    );
+  }
+
+  render() {
+    return <div />;
+  }
+}