From a46f583437e9b66ebec6fa22e27567a71b17b497 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 21 Jul 2024 16:13:58 +0900 Subject: react router --- frontend/src/routes/golf/play/apps/Starting.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 frontend/src/routes/golf/play/apps/Starting.tsx (limited to 'frontend/src/routes/golf/play/apps/Starting.tsx') diff --git a/frontend/src/routes/golf/play/apps/Starting.tsx b/frontend/src/routes/golf/play/apps/Starting.tsx new file mode 100644 index 0000000..1c8fadd --- /dev/null +++ b/frontend/src/routes/golf/play/apps/Starting.tsx @@ -0,0 +1,15 @@ +type Props = { + gameId: number; + playerId: number; + timeLeft: number | null; +}; + +export default ({ timeLeft }: Props) => { + return ( + <> +
+ 対戦相手が見つかりました。{timeLeft} 秒後にゲームを開始します。 +
+ + ); +} -- cgit v1.2.3-70-g09d2