diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-12-22 17:33:46 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-12-22 17:33:46 +0700 |
| commit | 89f32128f37d99b490de7590e2116a9cfd853f89 (patch) | |
| tree | feb74cc6bd0030b291fbf3dbba9b89a7afd6ea31 /src-migrate/modules/product/PromoProduct.tsx | |
| parent | c9366090153e8aba3a673b2b77cbc8acc24e59a5 (diff) | |
Update promotion program feature
Diffstat (limited to 'src-migrate/modules/product/PromoProduct.tsx')
| -rw-r--r-- | src-migrate/modules/product/PromoProduct.tsx | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src-migrate/modules/product/PromoProduct.tsx b/src-migrate/modules/product/PromoProduct.tsx deleted file mode 100644 index 83b05e88..00000000 --- a/src-migrate/modules/product/PromoProduct.tsx +++ /dev/null @@ -1,22 +0,0 @@ -import React from 'react' -import style from './PromoProduct.module.css' -import { IProductVariantPromo } from '~/common/types/promotion' -import Image from 'next/image' - -type Props = { - variant: IProductVariantPromo -} - -const PromoProduct = ({ variant }: Props) => { - return ( - <div className={style.product}> - <div className={style.image}> - <Image src={variant.image} alt={variant.display_name} width={320} height={320} /> - </div> - <div className={style.fillDesc}>Isi {variant.qty} barang</div> - <div className={style.name}>{variant.name}</div> - </div> - ) -} - -export default PromoProduct
\ No newline at end of file |
