🎨 styles: custom shape

:%s
This commit is contained in:
lytrankieio123
2021-09-10 09:28:38 +07:00
parent d27f20e9f8
commit bd7cf33a51
7 changed files with 127 additions and 3 deletions

View File

@@ -2,7 +2,7 @@ import { CommerceProvider } from '@framework'
import { useRouter } from 'next/router'
import { FC } from 'react'
import { useModalCommon } from 'src/components/hooks'
import { CartDrawer } from '..'
import { CartDrawer, CustomShapeSvg } from '..'
import Footer from '../Footer/Footer'
import Header from '../Header/Header'
import s from './Layout.module.scss'
@@ -30,6 +30,7 @@ const Layout: FC<Props> = ({ children }) => {
<Header />
<main >{children}</main>
<button onClick={toggle}>toggle card: {visibleCartDrawer.toString()}</button>
<CustomShapeSvg/>
<CartDrawer
visible={visibleCartDrawer}
onClose={closeCartDrawer} />