From a49f5a3f968dcc8c84759a382a0762abf0bc758b Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 23 Mar 2023 17:01:03 +0700 Subject: cart, checkout, quotation --- src/core/components/elements/Popup/BottomPopup.jsx | 55 +++++++++++++++------- 1 file changed, 37 insertions(+), 18 deletions(-) (limited to 'src/core/components/elements/Popup') diff --git a/src/core/components/elements/Popup/BottomPopup.jsx b/src/core/components/elements/Popup/BottomPopup.jsx index 24366802..95c75473 100644 --- a/src/core/components/elements/Popup/BottomPopup.jsx +++ b/src/core/components/elements/Popup/BottomPopup.jsx @@ -1,6 +1,8 @@ import { XMarkIcon } from '@heroicons/react/24/outline' import { AnimatePresence, motion } from 'framer-motion' import { useEffect } from 'react' +import MobileView from '../../views/MobileView' +import DesktopView from '../../views/DesktopView' const transition = { ease: 'linear', duration: 0.2 } @@ -26,24 +28,41 @@ const BottomPopup = ({ children, active = false, title, close }) => { transition={transition} onClick={close} /> - -
-
{title}
- -
- {children} -
+ + +
+
{title}
+ +
+ {children} +
+
+ + + +
+
{title}
+ +
+ {children} +
+
)} -- cgit v1.2.3