[feat] UserApplicationTable 컴포넌트 구현 (내 프로필 신청 내역), StatusBadge, numberCommaFormatter 구현 #50
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.
#️⃣연관된 이슈
Closes #49
📝 PR 유형
📝작업 내용
StatusBadge구현numberCommaFormatter유틸 함수 구현내 프로필 페이지에서 신청 내역이 있을 때, 테이블 형태의 신청 내역 테이블 컴포넌트(
UserApplicationTable)를 구현합니다.내부적으로는 공통 컴포넌트 중
Table,Pagination을 활용합니다.props로는
data,pageCount,pageLimit,itemCountPerPage를 전달할 수 있습니다.StatusBadge컴포넌트 구현src/components/StatusBadgeprops
status:"pending" | "accepted" | "rejected" | "canceled"(src/types/ApplicationStatus에서 import 가능)status값에 따라 badge가 자동으로 변경됨src/utils/numberCommaFormatter유틸 함수numberCommaFormatter(20000)->20,000반환스크린샷 (선택)
💬리뷰 요구사항(선택)