aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataViz.tsx
diff options
context:
space:
mode:
authorNaafiyan Ahmed <naafiyan@gmail.com>2022-06-21 18:16:46 -0400
committerNaafiyan Ahmed <naafiyan@gmail.com>2022-06-21 18:16:46 -0400
commit566b33847cff9217ed6e4e11bed2e1b92798bc95 (patch)
tree93f06043e45aa0f026f345c11db32e66febcc710 /src/client/views/nodes/DataViz.tsx
parent04fd9f20ccdc204dad5724008b076cbf9ea7b874 (diff)
trying to get basic data viz view to work
Diffstat (limited to 'src/client/views/nodes/DataViz.tsx')
-rw-r--r--src/client/views/nodes/DataViz.tsx14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/client/views/nodes/DataViz.tsx b/src/client/views/nodes/DataViz.tsx
new file mode 100644
index 000000000..60b27c19c
--- /dev/null
+++ b/src/client/views/nodes/DataViz.tsx
@@ -0,0 +1,14 @@
+import React from "react";
+import "./DataViz.scss";
+import { FieldView, FieldViewProps } from "./FieldView";
+import { ViewBoxBaseComponent } from '../DocComponent';
+
+export class DataViz extends ViewBoxBaseComponent<FieldViewProps>() {
+ public static LayoutString(fieldKey: string) {
+ return FieldView.LayoutString(DataViz, fieldKey);
+ }
+
+ render() {
+ return (<div>Hi</div>)
+ }
+} \ No newline at end of file