import { Box, Button, useTheme } from "@mui/material"; import ArrowLeft from "@icons/questionsPage/arrowLeft"; import { FC } from "react"; type StepButtonsBlockProps = { onSmallBtnClick?: () => void; onLargeBtnClick?: () => void; isSmallBtnMissing?: boolean; isLargeBtnMissing?: boolean; isSmallBtnDisabled?: boolean; isLargeBtnDisabled?: boolean; smallBtnText?: string; largeBtnText?: string; largeBtnType?: "button" | "submit" | "reset"; }; export const StepButtonsBlock: FC = ({ onSmallBtnClick, onLargeBtnClick, isSmallBtnMissing, isLargeBtnMissing, smallBtnText, largeBtnText, isSmallBtnDisabled, isLargeBtnDisabled, largeBtnType, }) => { const theme = useTheme(); return ( {isSmallBtnMissing || ( )} {isLargeBtnMissing || ( )} ); };