styles: input search

This commit is contained in:
lytrankieio123
2021-08-24 13:52:01 +07:00
parent 71eaa424ec
commit 6d828280a0
4 changed files with 29 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import { ButtonCommon, Inputcommon, Layout } from 'src/components/common';
import { IconBuy, IconSearch } from 'src/components/icons';
import { ButtonCommon, Inputcommon, InputSearch, Layout } from 'src/components/common';
import { IconBuy } from 'src/components/icons';
export default function Home() {
return (
<>
@@ -13,7 +13,7 @@ export default function Home() {
{/* demo */}
<div style={{ display: 'flex' }}>
<Inputcommon placeholder="Enter here" />
<Inputcommon placeholder="Enter here" styleType='custom' icon={<IconSearch />}/>
<InputSearch/>
</div>
<ButtonCommon type='ghost' icon={<IconBuy />}>Button</ButtonCommon>