aboutsummaryrefslogtreecommitdiff
path: root/src/Main.tsx
diff options
context:
space:
mode:
authorTyler Schicke <tyler_schicke@brown.edu>2019-01-18 19:57:18 -0500
committerTyler Schicke <tyler_schicke@brown.edu>2019-01-18 19:57:18 -0500
commit657b07e5a0a4d73a0b9cd9b82b69178b1658ce8b (patch)
tree95917c195db75063cd8c244b6afe013830a27059 /src/Main.tsx
parent1eb79ea2e6f2ddeea19b8cc399b373809279b862 (diff)
Fixed issue in SetFieldValue
Diffstat (limited to 'src/Main.tsx')
-rw-r--r--src/Main.tsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Main.tsx b/src/Main.tsx
index 604e443cf..09c2b111f 100644
--- a/src/Main.tsx
+++ b/src/Main.tsx
@@ -51,8 +51,12 @@ runInAction(() => {
let doc4 = Documents.CollectionDocument(docset, {
x: 100, y: 400
});
+ let doc5 = Documents.ImageDocument("https://static.boredpanda.com/blog/wp-content/uploads/2018/04/5acb63d83493f__700-png.jpg", {
+ x: 650, y: 500
+ });
mainNodeCollection.Docs.push(doc1);
mainNodeCollection.Docs.push(doc2);
mainNodeCollection.Docs.push(doc4);
mainNodeCollection.Docs.push(doc3);
+ mainNodeCollection.Docs.push(doc5);
}); \ No newline at end of file