refactor: ItemWishList component

This commit is contained in:
unknown
2021-08-24 15:12:39 +07:00
parent d5a0c35ffc
commit 51ab7637f1
8 changed files with 32 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
import { ButtonCommon, Layout } from 'src/components/common'
import { ButtonCommon, Layout, ViewAllItem, ItemWishList, Logo } from 'src/components/common'
import { IconBuy } from 'src/components/icons'
import { ButonType, ButtonSize } from 'src/utils/constanst.utils'
export default function Home() {
@@ -13,6 +13,9 @@ export default function Home() {
<ButtonCommon size={ButtonSize.large} icon={<IconBuy/>}>{ButtonSize.large} - Button default large</ButtonCommon>
<ButtonCommon icon={<IconBuy/>} disabled isIconSuffix={true}>Button with icon disabled</ButtonCommon>
<ButtonCommon icon={<IconBuy/>} type={ButonType.light}>Button with icon</ButtonCommon>
<ViewAllItem />
<ItemWishList isActive={false} />
<Logo />
<p>Go to <code>pages/index.tsx</code> to get your hand dirty!</p>
<p>Go to <code>src/components</code> to make your awesome component!</p>
<p>Go to <code>src/styles</code> to find global styles!</p>