import { Loader2, RotateCcw } from 'lucide-react'; type ShellConnectionOverlayProps = { mode: 'loading' | 'connect' | 'connecting'; description: string; loadingLabel: string; connectLabel: string; connectTitle: string; connectingLabel: string; onConnect: () => void; }; export default function ShellConnectionOverlay({ mode, description, loadingLabel, connectLabel, connectTitle, connectingLabel, onConnect, }: ShellConnectionOverlayProps) { if (mode === 'loading') { return (
); } if (mode === 'connect') { return (

{description}

); } return (

{description}

); }