import { Loader2 } from 'lucide-react'; interface RightPanelProps { input: string; onInputChange: (value: string) => void; output: string; error: string; loading: boolean; executionTime: number | null; status: string; } export default function RightPanel({ input, onInputChange, output, error, loading, executionTime, status, }: RightPanelProps) { const dotClass = status === 'error' || status === 'compile_error' ? 'ryp-statusbar__dot--error' : status === 'running' ? 'ryp-statusbar__dot--running' : ''; return (
{output}
)}
{error && (
{error}
)}
{!output && !error && (
Run code to see output.
)}