Skip to content

Conversation

@crazyupinc-design
Copy link
Collaborator

@crazyupinc-design crazyupinc-design commented Dec 15, 2024

이슈 번호

close #31

변경 사항 요약

SearchInput 컴포넌트

 - 크기별 구현 (large:위키목록페이지), medium: 자유게시판페이지) 
 - 기본 Placeholder 제공: large는 "이름으로 위키 검색", medium은 "제목을 검색해 주세요."
 - Props: size, value, onSubmit, placeholder

사용예시

<SearchInput
        size="large"
        value={searchValue} // 입력값 상태 전달
        onChange={handleSearchChange} // 변경 핸들러 전달
        onSubmit={handleSearchSubmit} // 제출 핸들러 전달
        placeholder="검색어를 입력하세요"
      />

테스트 결과

image

@crazyupinc-design crazyupinc-design added the 📁 컴포넌트 컴포넌트 개발 관련 작업 label Dec 15, 2024
@crazyupinc-design crazyupinc-design self-assigned this Dec 15, 2024
Copy link
Collaborator

@haksoo0918 haksoo0918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

코드가 깔끔해서 보기 좋습니다. 👍

@crazyupinc-design crazyupinc-design merged commit 3229ac1 into develop Dec 16, 2024
1 check passed
@crazyupinc-design crazyupinc-design deleted the feature/#31_검색창-컴포넌트 branch December 16, 2024 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📁 컴포넌트 컴포넌트 개발 관련 작업

Projects

Status: 완료

Development

Successfully merging this pull request may close these issues.

검색창 컴포넌트

4 participants