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.
17 lines
445 B
TypeScript
17 lines
445 B
TypeScript
import { Component, OnInit, ChangeDetectionStrategy, Input } from '@angular/core';
|
|
import { FeedItem } from '../models/feed-item.model';
|
|
|
|
@Component({
|
|
selector: 'app-feed-item',
|
|
templateUrl: './feed-item.component.html',
|
|
styleUrls: ['./feed-item.component.scss'],
|
|
changeDetection: ChangeDetectionStrategy.OnPush
|
|
})
|
|
export class FeedItemComponent implements OnInit {
|
|
@Input() feedItem: FeedItem;
|
|
|
|
constructor() { }
|
|
|
|
ngOnInit() {}
|
|
}
|