virtual scroll component (드르륵) 구현 #43
Merged
+88
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
⚙️ PR 타입
✨ 기능 설명 or 🚨 문제 상황
리스트중 아이템을 스크롤을 셀렉트 할 수 있는 컴포넌트를 구현했습니다.
리스트중 가운데에 있는 요소가 선택되며 배경색이 변경됩니다.
👨💻 구현 내용 or 👍 해결 내용
리스트가 하나일 경우인, 예를 들면 인원선택, 경기 플레이 타임 선택은 가능하지만
리스트가 여러개인 경기시작 시간 선택은 아직 구현하지 못했습니다.
🎯 PR 포인트
📝 참고 사항
컴포넌트에 list: string[]를 props로 넘겨주시면 됩니다.
onItemSelected={선택된 아이템을 처리할 함수} 전달해주시면 됩니다.
❓ 궁금한 점
#41 close