aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/collections/CollectionSchemaView.tsx
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-07-11 11:00:09 -0400
committerbob <bcz@cs.brown.edu>2019-07-11 11:00:09 -0400
commita9ecaef0c7d870136401dfbb687afdb9dd2843f4 (patch)
treee92499439a8c2c3f19defb2fca723b208ce47ca3 /src/client/views/collections/CollectionSchemaView.tsx
parent35f581ce1beef665265688551f50ca4cd51fd62a (diff)
fixed fitToBox stuff.
Diffstat (limited to 'src/client/views/collections/CollectionSchemaView.tsx')
-rw-r--r--src/client/views/collections/CollectionSchemaView.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx
index 21a2a7dd0..a55549280 100644
--- a/src/client/views/collections/CollectionSchemaView.tsx
+++ b/src/client/views/collections/CollectionSchemaView.tsx
@@ -401,8 +401,8 @@ interface CollectionSchemaPreviewProps {
Document?: Doc;
DataDocument?: Doc;
childDocs?: Doc[];
- fitToBox?: () => number[];
renderDepth: number;
+ fitToBox?: boolean;
width: () => number;
height: () => number;
showOverlays?: (doc: Doc) => { title?: string, caption?: string };