Spaces:
Running
Running
Download frontend/src/components/test/TestEngineOverlays.jsx from banu4prasad/Gateprep: direct link, hf CLI and curl.
- Browser
- Download file 1.1 kB
-
https://huggingface.co/spaces/banu4prasad/Gateprep/resolve/main/frontend/src/components/test/TestEngineOverlays.jsx
- Command line
-
hf download hf://spaces/banu4prasad/Gateprep/frontend/src/components/test/TestEngineOverlays.jsx
-
curl -L -o TestEngineOverlays.jsx https://huggingface.co/spaces/banu4prasad/Gateprep/resolve/main/frontend/src/components/test/TestEngineOverlays.jsx
1.1 kB
| import FullscreenWarning from './FullscreenWarning' | |
| import Calculator from './Calculator' | |
| import ConfirmSubmitModal from './ConfirmSubmitModal' | |
| export default function TestEngineOverlays({ | |
| endTimeMs, | |
| fsViolations, | |
| handleTimerExpire, | |
| setShowConfirm, | |
| setShowFsWarning, | |
| showFsWarning, | |
| showCalc, | |
| setShowCalc, | |
| showConfirm, | |
| answered, | |
| doSubmit, | |
| marked, | |
| notAnswered, | |
| questions, | |
| submitting, | |
| }) { | |
| return ( | |
| <> | |
| {showFsWarning && ( | |
| <FullscreenWarning | |
| endTimeMs={endTimeMs} | |
| fsViolations={fsViolations} | |
| handleTimerExpire={handleTimerExpire} | |
| setShowConfirm={setShowConfirm} | |
| setShowFsWarning={setShowFsWarning} | |
| /> | |
| )} | |
| {showCalc && <Calculator onClose={() => setShowCalc(false)} />} | |
| {showConfirm && ( | |
| <ConfirmSubmitModal | |
| answered={answered} | |
| doSubmit={doSubmit} | |
| marked={marked} | |
| notAnswered={notAnswered} | |
| questions={questions} | |
| setShowConfirm={setShowConfirm} | |
| submitting={submitting} | |
| /> | |
| )} | |
| </> | |
| ) | |
| } | |