From 13d615aa709d37d89afee2e79156552e045fd9e4 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 9 Jan 2021 10:36:49 +0100 Subject: spelregels aanpassen dialoogvenster klaar --- src/components/gameSettings.tsx | 49 ++++++++++++++++++++++++++++++++++------- 1 file changed, 41 insertions(+), 8 deletions(-) (limited to 'src/components/gameSettings.tsx') diff --git a/src/components/gameSettings.tsx b/src/components/gameSettings.tsx index 79a5029..fb5188e 100644 --- a/src/components/gameSettings.tsx +++ b/src/components/gameSettings.tsx @@ -1,4 +1,4 @@ -import { ReactNode } from 'react'; +import { ReactNode, CSSProperties } from 'react'; import { Button, Vierkant, CheckBox, Input } from './ui'; import { DialogBox } from './dialogBox'; @@ -50,11 +50,14 @@ function GameSettingsSection(props: { children?: ReactNode; title: string; state: boolean; + noMarginBottom?: boolean; }) { return -
{props.children}
+
{props.children}
} +function GameRule(props: { + title: string; + description: string; + style?: CSSProperties; +}) { + return
+

{props.title}

+

{props.description}

+
; +} + export function EditGameSettings() { return
@@ -96,6 +115,20 @@ export function EditGameSettings() { marginLeft: 4 }}>Timer gebruiken voor bijde spelers + +
+ + +
+ + +
+
; } -- cgit v1.2.3