commerce/pages/index.tsx
lytrankieio123 5517928556 feat: btn icon buy
:%s
2021-08-24 14:16:21 +07:00

26 lines
736 B
TypeScript

import { ButtonCommon, ButtonIconBuy, Inputcommon, InputSearch, Layout } from 'src/components/common';
import { IconBuy } from 'src/components/icons';
export default function Home() {
return (
<>
<div>This is home page</div>
<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>
{/* demo */}
<div style={{ display: 'flex' }}>
<Inputcommon placeholder="Enter here" />
<InputSearch/>
</div>
<ButtonCommon type='ghost' icon={<IconBuy />}>Button</ButtonCommon>
<ButtonIconBuy/>
</>
)
}
Home.Layout = Layout