summaryrefslogtreecommitdiff
path: root/src-migrate/modules/promo/components/Hero.tsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-06-26 15:30:48 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-06-26 15:30:48 +0700
commiteec3440fe52db85b325c600fdd393590dee906fe (patch)
tree480b6426d2a715a3c4220aeb94c7e06f4b268ae9 /src-migrate/modules/promo/components/Hero.tsx
parent7c61c990c7987f7c3991e74ce53eb3204e268c75 (diff)
<iman> update all promotion
Diffstat (limited to 'src-migrate/modules/promo/components/Hero.tsx')
-rw-r--r--src-migrate/modules/promo/components/Hero.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-migrate/modules/promo/components/Hero.tsx b/src-migrate/modules/promo/components/Hero.tsx
index d8bb0be4..ad1d0046 100644
--- a/src-migrate/modules/promo/components/Hero.tsx
+++ b/src-migrate/modules/promo/components/Hero.tsx
@@ -8,10 +8,10 @@ import { Swiper, SwiperProps, SwiperSlide } from 'swiper/react';
import { getBanner } from '~/services/banner';
import style from '../styles/hero.module.css';
import 'swiper/css/navigation';
-import { Navigation, Pagination } from 'swiper';
+import { Navigation, Pagination, Autoplay } from 'swiper';
const swiperBanner: SwiperProps = {
- modules:[Navigation, Pagination],
+ modules:[Navigation, Pagination, Autoplay],
autoplay: {
delay: 6000,
disableOnInteraction: false