import React from "react";

import ProductOption from "../../components/ProductOption";
import UnableOption from "../../UnableProduct/UnableOption";

export default function ThemeUnableOption({
  productInfo,
  productData,
  soldoutFlag,
  selectedCurationId,
  selectedCurationNm,
  handleMobileSendPopupOpen,
  logMenu,
}) {
  return (
    <>
      <ProductOption
        productInfo={productInfo}
        thumbnailUrls={productInfo?.thumbnailUrl}
      >
        <UnableOption
          selectedPatnrId={productData?.themeInfo[0]?.patnrId}
          selectedPrdtId={productInfo?.prdtId}
          productInfo={productInfo}
          soldoutFlag={soldoutFlag}
          patnrName={productData?.themeInfo[0]?.patncNm}
          selectedCurationId={selectedCurationId}
          selectedCurationNm={selectedCurationNm}
          smsTpCd={"APP00204"}
          handleMobileSendPopupOpen={handleMobileSendPopupOpen}
          logMenu={logMenu}
        />
      </ProductOption>
    </>
  );
}
