12 lines
266 B
TypeScript
12 lines
266 B
TypeScript
|
import {Component, Input} from '@angular/core';
|
||
|
import {BlogEntry} from './blog-entry';
|
||
|
|
||
|
@Component({
|
||
|
moduleId: module.id,
|
||
|
selector: 'app-blog-entry',
|
||
|
templateUrl: 'blog-entry.component.html'
|
||
|
})
|
||
|
export class BlogEntryComponent {
|
||
|
@Input() entry: BlogEntry;
|
||
|
}
|