blob: 45dd1700dccc567066768fd9075a1e0e3ba738ae (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
import React from 'react';
import GameEntry from '@components/GameEntry';
import { Game } from '@customTypes/Game';
import "@css/Maps.css"
import gamesCSS from "@css/Games.module.css";
interface GamesProps {
games: Game[];
}
const Games: React.FC<GamesProps> = ({ games }) => {
return (
<main>
<section>
<div className={gamesCSS.content}>
{games.map((game, index) => (
<GameEntry game={game} key={index} />
))}
</div>
</section>
</main>
);
};
export default Games;
|