duck-booking-tool-front/app/duck-detail.component.ts
Gergely Polonkai 06af47fccf Move Duck detail/editor to a separate component
Signed-off-by: Gergely Polonkai <gergely@polonkai.eu>
2016-09-09 14:41:44 +02:00

13 lines
247 B
TypeScript

import { Component, Input } from "@angular/core";
import { Duck } from "./models";
@Component({
selector: "duck-detail",
templateUrl: "/app/duck-detail.component.html"
})
export class DuckDetailComponent {
@Input()
duck: Duck;
}