import {
  Grid
} from "./chunk-EGEQY3KT.js";
import {
  Button
} from "./chunk-ZVDAEY5Q.js";
import {
  Box
} from "./chunk-4Y5BEXVN.js";
import {
  ChevronLeftIcon,
  ChevronRightIcon,
  PaperPlaneIcon
} from "./chunk-V5XKNSCK.js";

// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.tsx
import { jsx, jsxs } from "react/jsx-runtime";
function ReviewQuestionFooter({
  index,
  onNext,
  onPrev,
  isLast,
  isNextButtonDisabled,
  onSubmit,
  isLoading
}) {
  return /* @__PURE__ */ jsxs(Grid, { columns: "1fr 1fr", gap: "3", children: [
    index > 0 ? /* @__PURE__ */ jsxs(Button, { onClick: onPrev, variant: "outline", children: [
      /* @__PURE__ */ jsx(ChevronLeftIcon, {}),
      "\uC774\uC804\uC73C\uB85C"
    ] }) : /* @__PURE__ */ jsx(Box, {}),
    isLast ? /* @__PURE__ */ jsxs(Button, { disabled: isNextButtonDisabled, loading: isLoading, onClick: onSubmit, children: [
      /* @__PURE__ */ jsx(PaperPlaneIcon, {}),
      "\uC81C\uCD9C\uD558\uAE30"
    ] }) : /* @__PURE__ */ jsxs(
      Button,
      {
        disabled: isNextButtonDisabled,
        onClick: onNext,
        variant: "surface",
        children: [
          /* @__PURE__ */ jsx(ChevronRightIcon, {}),
          "\uB2E4\uC74C\uC73C\uB85C"
        ]
      }
    )
  ] });
}
var review_question_footer_default = ReviewQuestionFooter;

export {
  review_question_footer_default
};
//# sourceMappingURL=chunk-S2ZWUHP4.js.map