16439: Adds e2e tests for creating collections & projects.
[arvados-workbench2.git] / src / components / checkbox-field / checkbox-field.tsx
index 48737eeb6377b4d55879ef27c9dd7749fe850820..a5d5b285c3e24934c8c5c849b24ea51387b85a0c 100644 (file)
@@ -4,18 +4,9 @@
 
 import * as React from 'react';
 import { WrappedFieldProps } from 'redux-form';
-import { ArvadosTheme } from '~/common/custom-theme';
-import { FormControlLabel, Checkbox, StyleRulesCallback, WithStyles, withStyles } from '@material-ui/core';
+import { FormControlLabel, Checkbox } from '@material-ui/core';
 
-type CssRules = 'checkboxField';
-
-const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
-    checkboxField: {
-
-    }
-});
-
-export const CheckboxField = withStyles(styles)((props: WrappedFieldProps & WithStyles<CssRules> & { label?: string }) =>
+export const CheckboxField = (props: WrappedFieldProps & { label?: string }) =>
     <FormControlLabel
         control={
             <Checkbox
@@ -25,4 +16,4 @@ export const CheckboxField = withStyles(styles)((props: WrappedFieldProps & With
                 color="primary" />
         }
         label={props.label} 
-    />);
\ No newline at end of file
+    />;
\ No newline at end of file