From 319938d57b8cd225de1dd3f63433f6561f92311e Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 20 Apr 2021 15:00:46 +0200 Subject: new game dialog not broken anyore --- components/page.tsx | 9 ++++----- components/ui.tsx | 37 +++++-------------------------------- 2 files changed, 9 insertions(+), 37 deletions(-) (limited to 'components') diff --git a/components/page.tsx b/components/page.tsx index 506e2db..b8e3dac 100644 --- a/components/page.tsx +++ b/components/page.tsx @@ -1,12 +1,11 @@ import { Component, CSSProperties, ReactNode } from 'react'; -interface CenteredPageProps { +export function CenteredPage(props: { width?: number; children?: ReactNode; style?: CSSProperties; -} - -export function CenteredPage(props: CenteredPageProps) { + className?: string; +}) { return
+ return
-
- -
+
; } -- cgit v1.2.3