import React from 'react'; import { motion } from 'framer-motion'; import { Play, Users, X } from 'lucide-react'; interface HostReconnectedProps { quizTitle: string; currentQuestionIndex: number; totalQuestions: number; playerCount: number; onResume: () => void; onEndGame: () => void; } export const HostReconnected: React.FC = ({ quizTitle, currentQuestionIndex, totalQuestions, playerCount, onResume, onEndGame, }) => { return (

Game Restored

{quizTitle}

Question

{currentQuestionIndex + 1} / {totalQuestions}

Players

{playerCount}

Players will rejoin automatically when they reconnect

Resume Game End Game
); };