You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
369 B
TypeScript
19 lines
369 B
TypeScript
import { Component, OnInit, Input } from '@angular/core';
|
|
import { Post } from 'src/app/models/post';
|
|
|
|
@Component({
|
|
selector: 'feed-postlist',
|
|
templateUrl: './postlist.component.html',
|
|
styleUrls: ['./postlist.component.sass']
|
|
})
|
|
export class PostlistComponent implements OnInit {
|
|
|
|
@Input() childPostList: Array<Post>
|
|
|
|
constructor() { }
|
|
|
|
ngOnInit() {
|
|
}
|
|
|
|
}
|