diff --git a/src/tictactoe/Square.tsx b/src/tictactoe/Square.tsx index f5016fd..8dafb64 100644 --- a/src/tictactoe/Square.tsx +++ b/src/tictactoe/Square.tsx @@ -1,4 +1,9 @@ -export default function Square({ value, onClick }) { +interface SquareProps { + value: string; + onClick: () => void; +} + +export default function Square({ value, onClick } : SquareProps) { return (