import { LANGUAGE_OPTIONS } from './useCompiler.js'; interface StatusBarProps { language: string; cursorLine: number; cursorCol: number; status: string; } function getLanguageLabel(value: string) { return LANGUAGE_OPTIONS.find((l: any) => l.value === value)?.label ?? value; } function statusLabel(status: string) { switch (status) { case 'running': return 'Running…'; case 'success': return 'Success'; case 'error': return 'Error'; case 'compile_error': return 'Compile Error'; default: return 'Ready'; } } export default function StatusBar({ language, cursorLine, cursorCol, status }: StatusBarProps) { return (