Files
gridpilot.gg/apps/website/components/dashboard/TelemetryPanel.tsx
2026-01-18 16:43:32 +01:00

25 lines
576 B
TypeScript

import { Panel } from '@/ui/Panel';
import { Stack } from '@/ui/primitives/Stack';
import React from 'react';
interface TelemetryPanelProps {
title: string;
children: React.ReactNode;
}
/**
* TelemetryPanel
*
* A dense, instrument-grade panel for displaying data and controls.
* Uses UI primitives to comply with architectural constraints.
*/
export function TelemetryPanel({ title, children }: TelemetryPanelProps) {
return (
<Panel title={title} variant="dark" padding={4}>
<Stack fontSize="sm">
{children}
</Stack>
</Panel>
);
}