Skip to content

Commit

Permalink
Fix: add input component in loading ui #228
Browse files Browse the repository at this point in the history
  • Loading branch information
rmdnps10 committed Apr 18, 2024
1 parent 1915ae7 commit 93f467d
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion src/pages/Buyer/BuyerSearchResult.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,24 @@ export const BuyerSearchResult = () => {
navigate('/consult');
}}
/>
<FormWrapper onSubmit={handleSubmit}>
<Input
value={input}
onChange={handleOnChange}
placeholder="상담사명, 제목, 키워드"
fontSize="1.6rem"
fontWeight="400"
fontColor={Grey1}
placeHolderColor={Grey4}
height="4.4rem"
width="100%"
isBoxSizing={true}
padding="0.8rem 3.4rem 0.8rem 1.6rem"
/>
<SearchIcon onClick={handleSubmit} />
</FormWrapper>
</HeaderWrapper>

<div
style={{
height: '70vh',
Expand Down Expand Up @@ -382,7 +399,6 @@ const HeaderWrapper = styled.header`
position: relative;
display: flex;
align-items: center;
top: 0;
width: 100%;
justify-content: center;
box-sizing: border-box;
Expand Down

0 comments on commit 93f467d

Please sign in to comment.