import { ReactNode, Component } from 'react';
import { Button, Vierkant, CheckBox, Input } from './ui';
import { DialogBox } from './dialogBox';
import BuildRoundedIcon from '@material-ui/icons/BuildRounded';
export class CurrentGameSettings extends Component {
state: {
editGameRulesDialogVisible: boolean;
} = {
editGameRulesDialogVisible: false
}
showEditGameRules = () => this.setState({ editGameRulesDialogVisible: true });
hideEditGameRules = () => this.setState({ editGameRulesDialogVisible: false });
render() {
return
Geen tijdslimiet
Standaardregels
Gerangschikt
;
}
}
function GameSettingsSection(props: {
children?: ReactNode;
title: string;
state: boolean;
noMarginBottom?: boolean;
id: string;
}) {
return
{props.title}
{props.children}
}
/* function GameRule(props: { */
/* title: string; */
/* description: string; */
/* style?: CSSProperties; */
/* }) { */
/* return */
/*
{props.title}
*/
/*
{props.description}
*/
/*
; */
/* } */
/*
*/
type editGameSettingsProps = {
parentState: { editGameRulesDialogVisible: boolean; };
hideEditGameRules: () => void;
};
export class EditGameSettings extends Component {
constructor(props: editGameSettingsProps) {
super(props);
}
render () {
return
;
}
}