import { CheckCircle, RotateCcw, SkipForward, Sparkles } from 'lucide-react'; import { showLoginPopup } from '../../lib/popup'; type QuestionsProgressProps = { isLoading?: boolean; showLoginAlert?: boolean; knowCount?: number; didNotKnowCount?: number; totalCount?: number; skippedCount?: number; onResetClick?: () => void; }; export function QuestionsProgress(props: QuestionsProgressProps) { const { showLoginAlert, isLoading = false, knowCount = 0, didNotKnowCount = 0, totalCount = 0, skippedCount = 0, onResetClick = () => null, } = props; const totalSolved = knowCount + didNotKnowCount + skippedCount; const donePercentage = (totalSolved / totalCount) * 100; return (
You progress is not saved. Please{' '}
)}