Skip to content

Commit

Permalink
feat: 아이콘 클릭 시 이미지 업로드 창 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ExceptAnyone committed Jan 10, 2024
1 parent 33b5850 commit 9ef769e
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions src/components/onboarding/step02/Step02.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,24 @@ const ThumbnailInput = (props: ThumbnailInputProps) => {
<Title title='썸네일을 등록해주세요' />
<div style={{ width: '100%' }}>
<S.ThumbnailWrapper>
<IcPlusImageFinal style={{ width: '5rem', height: '5rem' }} />
<input type='file' accept='image/*' style={{ display: 'none' }} id='imgInput' />
<label htmlFor='imgInput'>
<IcPlusImageFinal style={{ width: '5rem', height: '5rem' }} />
</label>
</S.ThumbnailWrapper>
<div style={{ display: 'flex', justifyContent: 'flex-end' }}>
<BtnNext
type='button'
onClick={onNext}
customStyle={{
position: 'absolute',
bottom: '0',
}}
>
다음
</BtnNext>
<S.BtnWrapper>
<BtnNext
type='button'
onClick={onNext}
customStyle={{
position: 'absolute',
bottom: '0',
}}
>
다음
</BtnNext>
</S.BtnWrapper>
</div>
</div>
</>
Expand Down

0 comments on commit 9ef769e

Please sign in to comment.