diff --git a/src/components/MatchFull.tsx b/src/components/MatchFull.tsx index 015d529..25343a0 100644 --- a/src/components/MatchFull.tsx +++ b/src/components/MatchFull.tsx @@ -1,22 +1,38 @@ import React, { FC } from "react"; import Moment from "react-moment"; -import { Container, Typography } from "@material-ui/core"; +import { Container, Typography, makeStyles } from "@material-ui/core"; import IGame from "../types/Game"; -const MatchFull: FC<{ game: IGame }> = ({ game }) => ( - - - {game.title} - - - {game.competition.name} -
- {game.date} -
+const useStyles = makeStyles({ + root: { + marginTop: "16px", + marginBottom: "16px", + }, + video: { + marginTop: "16px", + }, +}); -
-
-); +const MatchFull: FC<{ game: IGame }> = ({ game }) => { + const classes = useStyles(); + return ( + + + {game.title} + + + {game.competition.name} +
+ {game.date} +
+ +
+
+ ); +}; export default MatchFull;