import {
  review_question_body_default
} from "./chunk-NOJWAVEA.js";
import {
  review_question_footer_default
} from "./chunk-S2ZWUHP4.js";
import {
  review_question_header_default
} from "./chunk-VREM33BW.js";
import {
  review_question_layout_default
} from "./chunk-X2Y2UWY2.js";

// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.tsx
import { jsx } from "react/jsx-runtime";
function ReviewQuestion({
  question,
  index,
  total,
  answer,
  error,
  onChange,
  onNext,
  onPrev,
  isLast,
  isNextDisabled,
  onSubmit,
  isLoading
}) {
  return /* @__PURE__ */ jsx(
    review_question_layout_default,
    {
      Body: /* @__PURE__ */ jsx(
        review_question_body_default,
        {
          answer,
          error,
          onChange,
          question
        }
      ),
      Footer: /* @__PURE__ */ jsx(
        review_question_footer_default,
        {
          index,
          isLast,
          isLoading,
          isNextButtonDisabled: isNextDisabled,
          onNext,
          onPrev,
          onSubmit
        }
      ),
      Header: /* @__PURE__ */ jsx(review_question_header_default, { index, total })
    }
  );
}
var ReviewQuestion_default = ReviewQuestion;

export {
  ReviewQuestion_default
};
//# sourceMappingURL=chunk-UM7AEB5D.js.map