angular4-testing/blog-complete/app/blog/blog-entry.component.ts

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;
}