diff --git a/src/App.css b/src/App.css index 1685faa..53e38a7 100644 --- a/src/App.css +++ b/src/App.css @@ -31,4 +31,13 @@ body { .status { margin-bottom: 10px; +} + +.game { + display: flex; + flex-direction: row; +} + +.game-info { + margin-left: 20px; } \ No newline at end of file diff --git a/src/App.js b/src/App.js index 39a8bc3..7115bfb 100644 --- a/src/App.js +++ b/src/App.js @@ -13,7 +13,7 @@ function Square({value, onSquareClick}) { ); } -function App() { +function Board() { const [xIsNext, setXIsNext] = useState(true); const [squares, setSquares] = useState(Array(9).fill(null)); @@ -61,6 +61,19 @@ function App() { ); } +function App() { + return ( +
+
+ +
+
+
    {/*TODO*/}
+
+
+ ); +} + export default App; function calculateWinner(squares) {