Initial commit
This commit is contained in:
commit
7b9f81dd64
20 changed files with 2789 additions and 0 deletions
12
src/components/CardList.jsx
Normal file
12
src/components/CardList.jsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import Card from "components/Card"
|
||||
import styles from "styles/CardList.module.css"
|
||||
|
||||
const CardList = ({ movies }) => (
|
||||
<div className={styles.CardList}>
|
||||
{movies.map((movie) => (
|
||||
<Card key={movie.id} movie={movie} />
|
||||
))}
|
||||
</div>
|
||||
)
|
||||
|
||||
export default CardList
|
||||
Reference in a new issue