2026-05-26 20:28:49 -05:00
|
|
|
import PageFrame from '../components/PageFrame'
|
|
|
|
|
|
2026-05-26 20:02:59 -05:00
|
|
|
interface Props {
|
|
|
|
|
onScoreRound: () => void
|
|
|
|
|
onNewGame: () => void
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default function ScoreSheet({ onScoreRound, onNewGame }: Props) {
|
|
|
|
|
return (
|
2026-05-26 20:28:49 -05:00
|
|
|
<PageFrame title="Score Sheet">
|
2026-05-26 20:02:59 -05:00
|
|
|
<button onClick={onScoreRound}>Score Round</button>
|
|
|
|
|
<button onClick={onNewGame} style={{ fontSize: '0.75em' }}>New Game</button>
|
2026-05-26 20:28:49 -05:00
|
|
|
</PageFrame>
|
2026-05-26 20:02:59 -05:00
|
|
|
)
|
|
|
|
|
}
|