import {
  ReviewQuestionContentHeader
} from "./chunk-YT4LGWIY.js";

// src/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.tsx
import { jsx, jsxs } from "react/jsx-runtime";
function ReviewQuestionSatisfisText(props) {
  var _a, _b;
  const { question, answer, onChange } = props;
  return /* @__PURE__ */ jsx(Card, { size: "2", style: { height: "100%", width: "100%" }, children: /* @__PURE__ */ jsxs(Grid, { height: "100%", rows: "auto 1fr", children: [
    /* @__PURE__ */ jsx(
      ReviewQuestionContentHeader,
      {
        icon: question.icon,
        question: (_a = question.question) != null ? _a : "\uC774\uBC88 \uD559\uC2B5\uC5D0 \uB300\uD574 \uCD94\uAC00\uB85C \uB0A8\uAE38 \uC758\uACAC\uC774 \uC788\uB2E4\uBA74 \uACF5\uC720\uD574\uC8FC\uC138\uC694.",
        title: (_b = question.title) != null ? _b : "\uB9CC\uC871\uB3C4 \uC870\uC0AC",
        type: question.type
      }
    ),
    /* @__PURE__ */ jsx(
      TextArea,
      {
        mt: "2",
        onChange: (e) => {
          onChange(e.target.value);
        },
        placeholder: question.placeholder,
        style: {
          height: "100%"
        },
        value: answer
      }
    )
  ] }) });
}

export {
  ReviewQuestionSatisfisText
};
//# sourceMappingURL=chunk-CEVRBIPI.js.map