import type { UiTelemetryCard } from "../types";
import { TelemetryCard } from "./TelemetryCard";

export interface TelemetryGridProps {
  cards: UiTelemetryCard[];
}

export function TelemetryGrid({ cards }: TelemetryGridProps) {
  return (
    <section className="telemetry-grid" aria-label="Telemetry">
      {cards.map((card) => (
        <TelemetryCard key={card.id} card={card} />
      ))}
    </section>
  );
}
