Browse Source

Add React container

Tobias Skarhed 7 years ago
parent
commit
472b880939
1 changed files with 20 additions and 0 deletions
  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 />;
+  }
+}