Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat : pagination 컴포넌트 작성 #15

Closed

Conversation

jeonghun10
Copy link

@jeonghun10 jeonghun10 commented Mar 4, 2022

PR 타입(하나 이상의 PR 타입을 선택해주세요)

  • 기능 추가
  • 기능 삭제
  • 버그 수정
  • 의존성, 환경 변수, 빌드 관련 코드 업데이트

반영 브랜치

feat/7/Pagination -> dev

변경 사항

페이지네이션 컴포넌트를 추가했습니다.
props로 전달 하는 데이터는

  • data : api 호출을 통해 전달 받은 데이터
  • dataLimit : 한페이지에 보여줄 데이터의 최대 갯수
  • pageLimit : 페이지 번호의 최대 갯수
  • setPaginatedData
  • paginatedData

입니다. 사용자가 페이지 번호를 선택할 경우 해당 페이지에 속하는 데이터만 state를 통해 변경되도록 구현하였습니다.

테스트 결과

Issue

resolved: #7

@jeonghun10 jeonghun10 self-assigned this Mar 4, 2022
@jinyongp
Copy link
Member

jinyongp commented Mar 4, 2022

혹시 해당 컴포넌트의 인터페이스에 대해 간략히 설명해주실 수 있으실까요?

Copy link
Contributor

@yeji-tomato yeji-tomato left a comment

Choose a reason for hiding this comment

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

Question/Check : pagination부분 정훈님 파트로 알고 있었는데 이미 진용님이 해주셨었네요... 두분이서 이야기 나누셔야 할 것 같습니다...! 하지만 정훈님 파트였기에 정훈님 코드도 올라가야한다고 생각이듭니다!! 저희가 역할분담 한 의미가 없어지니깐요...!!!

@jinyongp jinyongp closed this Mar 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat : Pagination
3 participants