mirror of
https://github.com/chsakell/aspnet-core-signalr-angular.git
synced 2025-12-23 01:37:59 +00:00
move match details to its own component
This commit is contained in:
16
app/shared/components/match.component.ts
Normal file
16
app/shared/components/match.component.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Component, OnInit, Input } from '@angular/core';
|
||||
|
||||
import { Match } from '../interfaces';
|
||||
|
||||
@Component({
|
||||
selector: 'match',
|
||||
templateUrl: 'app/shared/components/match.component.html'
|
||||
})
|
||||
export class MatchComponent implements OnInit {
|
||||
|
||||
@Input() match: Match;
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() { }
|
||||
}
|
||||
Reference in New Issue
Block a user