1 2 3 4 5 6 7 8 9 10 11
import { Component, Input } from '@angular/core' import { Syndication } from './syndication.model' @Component({ selector: 'my-feed', styleUrls: [ './feed.component.scss' ], templateUrl: './feed.component.html' }) export class FeedComponent { @Input() syndicationItems: Syndication[] }