text: import React from 'react';
  import { withStyles } from '@material-ui/core/styles';
  import Radio from '@material-ui/core/Radio';
  import RadioGroup from '@material-ui/core/RadioGroup';
  import FormHelperText from '@material-ui/core/FormHelperText';
  import FormControlLabel from '@material-ui/core/FormControlLabel';
  import FormControl from '@material-ui/core/FormControl';
  import FormLabel from '@material-ui/core/FormLabel';
  
  const styles = theme => ({
    root: {
      display: 'flex',
    },
    formControl: {
      margin: theme.spacing.unit * 3,
    },
    group: {
      margin: `${theme.spacing.unit}px 0`,
    },
  });
  
  class Checkbox extends React.Component {
    state = {
      value: 'default',
    };
  
    handleChange = event => {
      this.setState({ value: event.target.value });
    };
  
    render() {
      const { classes } = this.props;
  
      return (
        <div className={classes.root}>
          <FormControl component="fieldset" className={classes.formControl}>
            <FormLabel component="legend">Choose the size of your gameboard please</FormLabel>
            <RadioGroup
              aria-label="Gender"
              name="gender1"
              className={classes.group}
              value={this.state.value}
              onChange={this.handleChange}
            >
              <FormControlLabel value="default" control={<Radio />} label="Default 4 x 4" />
              <FormControlLabel value="custom1" control={<Radio />} label="custom 2 x 2" />
  
  
            </RadioGroup>
          </FormControl>
        </div>
      );
    }
  }
  
  
  export default withStyles(styles)(Checkbox);
  