Skip to content

Commit ccb14d0

Browse files
committed
Add mocked tweets
1 parent c7d7405 commit ccb14d0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { Component, OnInit } from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-timeline',
5+
templateUrl: './timeline.component.html',
6+
styleUrls: ['./timeline.component.less']
7+
})
8+
export class TimelineComponent implements OnInit {
9+
tweets = [
10+
{
11+
created_at: 'Wed Apr 05 12:30:12 +0000 2017',
12+
id: 1,
13+
text: 'Je mets les pieds où je veux, Little John… et c\'est souvent dans la gueule.',
14+
user: 'James Braddock'
15+
},
16+
{
17+
created_at: 'Thu Apr 06 15:24:15 +0000 2017',
18+
id: 2,
19+
text: 'Qui a deux pouces et qui s\'en fout ? Bob Kelso !',
20+
user: 'Bob kelso'
21+
},
22+
];
23+
24+
constructor() { }
25+
26+
ngOnInit() {
27+
}
28+
29+
}

0 commit comments

Comments
 (0)