move match details to its own component

This commit is contained in:
chsakell
2016-09-30 10:51:07 +03:00
parent d0690695b6
commit 63866a2746
9 changed files with 52 additions and 33 deletions

View 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() { }
}