This commit is contained in:
Tizian.Breuch
2025-09-17 21:17:27 +02:00
parent b8b0e167af
commit c066476cc3
31 changed files with 480 additions and 179 deletions

View File

@@ -0,0 +1,21 @@
import { Component, Input } from '@angular/core';
import { CommonModule } from '@angular/common';
import { IconComponent } from '../../../../shared/components/ui/icon/icon.component';
import { CardComponent } from '../../../../shared/components/ui/card/card.component';
import { KpiColor } from '../../../../core/types/dashboard';
@Component({
selector: 'app-kpi-card',
standalone: true,
imports: [CommonModule, IconComponent,CardComponent],
templateUrl: './kpi-card.component.html',
styleUrl: './kpi-card.component.css',
})
export class KpiCardComponent {
@Input() value: string = '';
@Input() label: string = '';
@Input() color: KpiColor = 'blue';
@Input() iconName: string | null = null;
@Input() svgColor: string | null = null;
}