aboutsummaryrefslogtreecommitdiff
path: root/src/views/nodes/DocumentView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-01-17 16:56:03 -0500
committerbob <bcz@cs.brown.edu>2019-01-17 16:56:03 -0500
commitbec89018d0ee73a8abaa5e01f2262bd95bc687f7 (patch)
tree6e7842ad46a50b40bc07f190e337adb73bf3ce01 /src/views/nodes/DocumentView.tsx
parent7943126ce9694af8e53d2997481c18ca0c17754c (diff)
added collectionfreeformview
Diffstat (limited to 'src/views/nodes/DocumentView.tsx')
-rw-r--r--src/views/nodes/DocumentView.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/views/nodes/DocumentView.tsx b/src/views/nodes/DocumentView.tsx
index f31069aa3..b9fbef91c 100644
--- a/src/views/nodes/DocumentView.tsx
+++ b/src/views/nodes/DocumentView.tsx
@@ -7,6 +7,8 @@ import { TextField } from "../../fields/TextField";
import { DocumentViewModel } from "../../viewmodels/DocumentViewModel";
import { ListField } from "../../fields/ListField";
import { FieldTextBox } from "../nodes/FieldTextBox"
+import { FreeFormCanvas } from "../freeformcanvas/FreeFormCanvas"
+import { CollectionFreeFormView } from "../freeformcanvas/CollectionFreeFormView"
import "./NodeView.scss"
const JsxParser = require('react-jsx-parser').default;//TODO Why does this need to be imported like this?
@@ -83,7 +85,7 @@ export class DocumentView extends React.Component<IProps> {
height: this.height
}}>
<JsxParser
- components={{ FieldTextBox }}
+ components={{ FieldTextBox, FreeFormCanvas, CollectionFreeFormView }}
bindings={bindings}
jsx={this.layout}
/>