fix: NCWF-2 bugs and desing fixes (#7)
Co-authored-by: Lala, Shahd <Shahd.Lala@sybit.de> Reviewed-on: #7
This commit was merged in pull request #7.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { Component, Input } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-player-card',
|
||||
standalone: true,
|
||||
imports: [],
|
||||
templateUrl: './player-card.component.html',
|
||||
styleUrl: './player-card.component.css'
|
||||
})
|
||||
export class PlayerCardComponent {
|
||||
@Input({ required: true }) name = '';
|
||||
@Input({ required: true }) initial = '';
|
||||
@Input({ required: true }) color: 'white' | 'black' = 'white';
|
||||
@Input() isActive = false;
|
||||
@Input() clockDisplay = '--:--';
|
||||
@Input() isLowTime = false;
|
||||
@Input() capturedPieces: string[] = [];
|
||||
}
|
||||
Reference in New Issue
Block a user