-
-
Save amandeepmittal/ff07f4496a70484d7adb04999fdbd20e 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 StoryList = ({ stories }) => ( | |
<div> | |
{stories.map(story => ( | |
<h3 key={story.id}>{story.title}</h3> | |
))} | |
</div> | |
); | |
export default StoryList; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment