import React from 'react'
import { Flag, ChevronLeft, ChevronRight } from 'lucide-react'
export default function QuestionPanel({
question,
questionNumber,
totalQuestions,
selectedAnswer,
onAnswerSelect,
onMarkForReview,
isMarked,
onPrevious,
onNext,
canGoPrevious,
canGoNext,
contrast
}) {
const progressPercent = (questionNumber / totalQuestions) * 100
return (
{/* Progress Bar */}
Question {questionNumber} of {totalQuestions}
{/* Question Text */}
{question.text}
{/* Image if present */}
{question.image && (
Note: You can adjust image contrast in the settings panel
)}
{/* Answer Options */}
{question.options.map((option, idx) => (
))}
{/* Navigation Buttons */}
)
}