import { CommonModule } from '@angular/common';
import { Component, Input } from '@angular/core';
import { Header } from '../../models/header';

@Component({
  selector: 'fbi-table',
  standalone: true,
  imports: [CommonModule],
  templateUrl: './table.component.html',
  styleUrl: './table.component.scss',
})
export class TableComponent {
  @Input() headers!: Header[];
  @Input() rows!: Record<string, any>[];
}
