aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-01 02:30:20 +0900
committernsfisis <nsfisis@gmail.com>2024-08-01 02:30:20 +0900
commit10b9be2c2a46b204f83be7d152ca62bf69e8843e (patch)
tree53011badc4b62c63da407a9b9213af242ed5cf4b /frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx
parent222ed4e77c3564c95450361fdeca40a733ce65c9 (diff)
parent1be6007f81488d0f186b44994fe8ee23385059a1 (diff)
downloadphperkaigi-2025-albatross-10b9be2c2a46b204f83be7d152ca62bf69e8843e.tar.gz
phperkaigi-2025-albatross-10b9be2c2a46b204f83be7d152ca62bf69e8843e.tar.zst
phperkaigi-2025-albatross-10b9be2c2a46b204f83be7d152ca62bf69e8843e.zip
Merge branch 'feat/game-screen'
Diffstat (limited to 'frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx')
-rw-r--r--frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx16
1 files changed, 9 insertions, 7 deletions
diff --git a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx
index d58a04f..10d68fe 100644
--- a/frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx
+++ b/frontend/app/components/GolfWatchApps/GolfWatchAppGaming.tsx
@@ -1,16 +1,18 @@
+type Props = {
+ problem: string;
+ codeA: string;
+ scoreA: number | null;
+ codeB: string;
+ scoreB: number | null;
+};
+
export default function GolfWatchAppGaming({
problem,
codeA,
scoreA,
codeB,
scoreB,
-}: {
- problem: string;
- codeA: string;
- scoreA: number | null;
- codeB: string;
- scoreB: number | null;
-}) {
+}: Props) {
return (
<div style={{ display: "flex", flexDirection: "column" }}>
<div style={{ display: "flex", flex: 1, justifyContent: "center" }}>