blob: 598b7bbe4dd420675fc970dd8120956f4ba7ff17 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
import React from 'react'
import Modal from '~/common/components/elements/Modal'
import { useModalStore } from '../stores/useModalStore'
import ProductPromoCategoryTab from './CategoryTab'
import ProductPromoModalContent from './ModalContent'
const ProductPromoModal = () => {
const { active, closeModal } = useModalStore()
return (
<Modal
active={active}
close={closeModal}
title='Promo Tersedia'
>
<ProductPromoCategoryTab />
<div className='h-4' />
<ProductPromoModalContent />
</Modal>
)
}
export default ProductPromoModal
|