import {
  curriculum_item_title_default
} from "./chunk-MJMHPIYX.js";
import {
  getCurriculumContentSubTypeText,
  getCurriculumIcon
} from "./chunk-RYK2ILB2.js";

// src/molecules/curriculumV2/CurriculumSidebar/Items/section-item.tsx
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
function SectionCommonItem({
  title,
  duration,
  icon,
  type,
  color = "gray"
}) {
  const IconComp = getCurriculumIcon({ type, icon });
  return /* @__PURE__ */ jsxs(Fragment, { children: [
    /* @__PURE__ */ jsx(IconComp, { color }),
    /* @__PURE__ */ jsx(curriculum_item_title_default, { duration, subText: getCurriculumContentSubTypeText(type), title })
  ] });
}
var section_item_default = SectionCommonItem;

export {
  section_item_default
};
//# sourceMappingURL=chunk-W6LDMZNY.js.map