Displaying tweets
This commit is contained in:
parent
9989d0a5ba
commit
6759a05743
8 changed files with 552 additions and 44 deletions
|
@ -11,8 +11,9 @@ export class Post extends Component {
|
|||
return (
|
||||
<ul className="list-group list-group-flush">
|
||||
{this.props.articles.map(el => (
|
||||
<li className="list-group-item" key={el.id}>
|
||||
{el.title}
|
||||
<li className="list-group-item" key={el.id_str}>
|
||||
<p>{el.created_at}</p>
|
||||
<p>{el.text}</p>
|
||||
</li>
|
||||
))}
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue