Files
NowChess-Frontend/src/app/components/player-card/player-card.component.ts
T
shosho996 c02414ea40 fix: NCWF-2 bugs and desing fixes (#7)
Co-authored-by: Lala, Shahd <Shahd.Lala@sybit.de>
Reviewed-on: #7
2026-05-15 02:16:43 +02:00

19 lines
543 B
TypeScript

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[] = [];
}