import React from 'react';

import TItemCard from '../../../../components/TItemCard/TItemCard';
import css from '../BestSellerItem/BestSellerItem.module.less';

export default function ({ bestSellerData, itemData, ...rest }) {
  return (
    <TItemCard
      key={itemData.rankOrd}
      imageSource={itemData.imgUrl}
      imageAlt={itemData.prdtNm}
      productName={itemData.prdtNm}
      priceInfo={itemData.priceInfo}
      rank={itemData.rankOrd}
      type="vertical"
      isBestSeller
      {...rest}
    />
  );
}
