Created
July 15, 2022 11:58
-
-
Save hesan-aminiloo/2dfd5c88ff72e6bc7faea26e3d5b9a24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const BookList = ({ items }) => { | |
return ( | |
<ul> | |
{items.map((item) => ( | |
<div> | |
<Image key={item.title} item={item} /> | |
<h1>{item.title}</h1> | |
</div> | |
))} | |
</ul> | |
); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment