From 928f217b51acd105b5366b57fbb0c043740f97a6 Mon Sep 17 00:00:00 2001
From: Sam Wilkins <abdullah_ahmed@brown.edu>
Date: Wed, 17 Jul 2019 20:47:54 -0400
Subject: column menu styling

---
 .../views/collections/CollectionSchemaView.tsx     | 32 +++++++++++-----------
 1 file changed, 16 insertions(+), 16 deletions(-)

(limited to 'src/client/views/collections/CollectionSchemaView.tsx')

diff --git a/src/client/views/collections/CollectionSchemaView.tsx b/src/client/views/collections/CollectionSchemaView.tsx
index 3572fac55..3ef58bcaf 100644
--- a/src/client/views/collections/CollectionSchemaView.tsx
+++ b/src/client/views/collections/CollectionSchemaView.tsx
@@ -44,7 +44,7 @@ export enum ColumnType {
     Number,
     String,
     Boolean,
-    Doc,
+    // Doc,
     Checkbox
 }
 // this map should be used for keys that should have a const type of value
@@ -54,21 +54,21 @@ const columnTypes: Map<string, ColumnType> = new Map([
     ["page", ColumnType.Number], ["curPage", ColumnType.Number], ["libraryBrush", ColumnType.Boolean], ["zIndex", ColumnType.Number]
 ]);
 
-@observer
-class KeyToggle extends React.Component<{ keyName: string, checked: boolean, toggle: (key: string) => void }> {
-    constructor(props: any) {
-        super(props);
-    }
-
-    render() {
-        return (
-            <div key={this.props.keyName}>
-                <input type="checkbox" checked={this.props.checked} onChange={() => this.props.toggle(this.props.keyName)} />
-                {this.props.keyName}
-            </div>
-        );
-    }
-}
+// @observer
+// class KeyToggle extends React.Component<{ keyName: string, checked: boolean, toggle: (key: string) => void }> {
+//     constructor(props: any) {
+//         super(props);
+//     }
+
+//     render() {
+//         return (
+//             <div key={this.props.keyName}>
+//                 <input type="checkbox" checked={this.props.checked} onChange={() => this.props.toggle(this.props.keyName)} />
+//                 {this.props.keyName}
+//             </div>
+//         );
+//     }
+// }
 
 @observer
 export class CollectionSchemaView extends CollectionSubView(doc => doc) {
-- 
cgit v1.2.3-70-g09d2

