MCPcopy Create free account
hub / github.com/code100x/chess / ModalProps

Interface ModalProps

apps/frontend/src/components/GameEndModal.tsx:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { GameResult, Result } from '@/screens/Game';
5
6interface ModalProps {
7 blackPlayer?: { id: string; name: string };
8 whitePlayer?: { id: string; name: string };
9 gameResult: GameResult;
10}
11
12const GameEndModal: React.FC<ModalProps> = ({
13 blackPlayer,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected