diff --git a/src/components/RatedCards/RatedCards.jsx b/src/components/RatedCards/RatedCards.jsx index e69de29..30d4c76 100644 --- a/src/components/RatedCards/RatedCards.jsx +++ b/src/components/RatedCards/RatedCards.jsx @@ -0,0 +1,21 @@ +import { Typography, Box } from '@mui/material'; + +import useStyles from './styles'; +import { Movie } from '../index'; + +function RatedCards({ title, movies }) { + const classes = useStyles(); + + return ( + + {title} + + {movies?.results.map((movie, i) => ( + + ))} + + + ); +} + +export default RatedCards;