From 6445930e05e8eb81a36930615926712986bc1a9d Mon Sep 17 00:00:00 2001
From: Monika Hedman <monikahedman@monikas-mbp.devices.brown.edu>
Date: Tue, 12 Feb 2019 16:20:01 -0500
Subject: Started node centering

---
 src/TempTreeView.tsx | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 src/TempTreeView.tsx

(limited to 'src/TempTreeView.tsx')

diff --git a/src/TempTreeView.tsx b/src/TempTreeView.tsx
new file mode 100644
index 000000000..0311d09bc
--- /dev/null
+++ b/src/TempTreeView.tsx
@@ -0,0 +1,28 @@
+import { observable, computed } from "mobx";
+import React = require("react");
+import { observer } from "mobx-react";
+import { Document } from "./fields/Document";
+
+export interface IProps {
+    mainCollection: Array<Document>;
+}
+
+@observer
+export class TempTreeView extends React.Component<IProps>{
+
+    render() {
+        return (
+            <div className="tempTree" style={{ border: "5px red" }}>
+                {this.props.mainCollection.map(node => {
+                    return (
+                        <div>
+                            {node.Title}
+                        </div>
+                    )
+                }
+                )}}
+            </div>
+        );
+    }
+
+}
\ No newline at end of file
-- 
cgit v1.2.3-70-g09d2

