Skip to content

Commit 120bba8

Browse files
authored
Create order.component.ts
1 parent e73d1b9 commit 120bba8

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

order.component.ts

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// order.component.ts
2+
import { Component, OnInit, Input } from '@angular/core';
3+
4+
import { Order } from './order.model';
5+
6+
@Component({
7+
selector: 'app-order',
8+
templateUrl: './order.component.html',
9+
styleUrls: ['./order.component.css']
10+
})
11+
export class OrderComponent implements OnInit {
12+
@Input() order: Order;
13+
14+
constructor() { }
15+
16+
ngOnInit() {
17+
}
18+
19+
}

0 commit comments

Comments
 (0)