website refactor
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Panel } from '@/ui/Panel';
|
||||
import { Stack } from '@/ui/primitives/Stack';
|
||||
import { Text } from '@/ui/Text';
|
||||
import React from 'react';
|
||||
|
||||
interface TelemetryPanelProps {
|
||||
@@ -11,14 +11,13 @@ interface TelemetryPanelProps {
|
||||
* 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">
|
||||
<Text size="sm" variant="med">
|
||||
{children}
|
||||
</Stack>
|
||||
</Text>
|
||||
</Panel>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user