commerce/pages/index.tsx
2021-08-24 13:45:30 +07:00

25 lines
763 B
TypeScript

import { ButtonCommon, Inputcommon, Layout } from 'src/components/common';
import { IconBuy, IconSearch } 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" />
<Inputcommon placeholder="Enter here" styleType='custom' icon={<IconSearch />}/>
</div>
<ButtonCommon type='ghost' icon={<IconBuy />}>Button</ButtonCommon>
</>
)
}
Home.Layout = Layout