'use client' import type { ScreenDefinition } from '../types' interface StatsBarProps { totalScreens: number totalConnections: number connectedCount: number selectedNode: string | null previewScreen: ScreenDefinition | null onReset: () => void } export function StatsBar({ totalScreens, totalConnections, connectedCount, selectedNode, previewScreen, onReset, }: StatsBarProps) { return (