diff options
Diffstat (limited to 'src-migrate/modules/promo/components/FlashSale.tsx')
| -rw-r--r-- | src-migrate/modules/promo/components/FlashSale.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src-migrate/modules/promo/components/FlashSale.tsx b/src-migrate/modules/promo/components/FlashSale.tsx new file mode 100644 index 00000000..16cb7647 --- /dev/null +++ b/src-migrate/modules/promo/components/FlashSale.tsx @@ -0,0 +1,21 @@ +import dynamic from "next/dynamic"; +import React from "react"; +import { FlashSaleSkeleton } from "@/lib/flashSale/skeleton/FlashSaleSkeleton"; + +const FlashSale = dynamic( + () => import('@/lib/flashSale/components/FlashSale'), + { + loading: () => <FlashSaleSkeleton />, + } + ); + + const FlashSalePromo = ()=> { + return( + <> + <h1 className='text-h-sm md:text-h-lg font-semibold'>Bayar Setengahnya!</h1> + <FlashSale/> + </> + ) + } + + export default FlashSalePromo
\ No newline at end of file |
