Last active
June 27, 2022 14:22
-
-
Save berkesayin/02dcf79c6f897c8ab42c15a1af219896 to your computer and use it in GitHub Desktop.
Key
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
import { Component } from "react"; | |
class Tweet extends Component { | |
render() { | |
return ( | |
<div> | |
{this.props.tweet.map(tweet => | |
<div key={tweet.tweet_id}> | |
{tweet.tweet_topic} | |
<br /> | |
{tweet.tweet_detail} | |
</div> | |
)} | |
</div> | |
) | |
} | |
} | |
export default Tweet |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment