frontPanel/src/pages/ResultPage/ResultPage.tsx
Nastya c396752ce6
All checks were successful
Deploy / CreateImage (push) Successful in 3m21s
Deploy / DeployService (push) Successful in 27s
--
2025-06-09 23:55:24 +03:00

55 lines
1.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { FirstEntry } from "./FirstEntry";
import { ResultSettings } from "./ResultSettings";
import {
decrementCurrentStep,
incrementCurrentStep,
setCurrentStep,
} from "@root/quizes/actions";
import { Box, Button } from "@mui/material";
import ArrowLeft from "@icons/questionsPage/arrowLeft";
export default () => {
return (
<>
<FirstEntry />
<ResultSettings />
<Box
sx={{
display: "flex",
justifyContent: "flex-start",
alignItems: "center",
gap: "8px",
mt: "30px",
}}
>
<Button
variant="outlined"
sx={{
padding: "10px 20px",
borderRadius: "8px",
height: "44px",
}}
onClick={decrementCurrentStep}
>
<ArrowLeft />
</Button>
<Button
onClick={incrementCurrentStep}
variant="contained"
sx={{
backgroundColor: "#7E2AEA",
fontSize: "18px",
lineHeight: "18px",
width: "216px",
height: "44px",
p: "10px 20px",
}}
>
Настроить форму
</Button>
</Box>
</>
);
};