feat(ui): port dashboard components to react
This commit is contained in:
parent
a71d66b1b8
commit
73abcc1b69
33 changed files with 1304 additions and 182 deletions
16
src/lib/ui/components/TelemetryGrid.tsx
Normal file
16
src/lib/ui/components/TelemetryGrid.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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>
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue