Files
tic-tac-toe-ui/src/games/tictactoe/props.ts

16 lines
305 B
TypeScript

import {
Board,
Player,
} from '../../interfaces/models'
export interface TicTacToeBoardProps {
boards: Record<string, Board>;
turn: number;
winner: string | null;
gameOver: boolean | null;
players: Player[];
myUserId: string | null;
onCellClick: (row: number, col: number) => void;
}