import { Component, Input } from '@angular/core';
import { NgIf, NgFor } from '@angular/common';

@Component({
    standalone: true,
    imports: [
        NgIf, NgFor
    ],
    selector: 'huapp-history-table',
    templateUrl: './history-table.component.html',
    styleUrls: []
})
export class HistoryTableComponent {

    constructor() {}

    @Input() headers: string[] = [];
    @Input() names: string[] = [];
    @Input() values: number[] = [];
    @Input() rows: any[] = [];
    @Input() colors: string[] = [];
}
