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: ChatOverview 컴포넌트 개발 #58

Closed
2 tasks
JW-Ahn0 opened this issue Nov 21, 2024 · 0 comments · Fixed by #152
Closed
2 tasks

feat: ChatOverview 컴포넌트 개발 #58

JW-Ahn0 opened this issue Nov 21, 2024 · 0 comments · Fixed by #152
Assignees
Labels

Comments

@JW-Ahn0
Copy link
Collaborator

JW-Ahn0 commented Nov 21, 2024

📌 작업 내용

ChatOverview : ChatList랑 TabMenu 합친 것
Image

props

  • menus :string[]
  • onClick : function
  • ChatRooms : ChatItem[]

TabMenu

  • menus : string[]
  • onClick? : function

ChatList

  • ChatItem[]

ChatItem:{
imgUrl : string
name : string
lastMsg : string
lastMsgTime : string
lastMsgCnt : number
}


✅ To-Do

  • props로 전달 받은 ChatRooms를 map으로 돌면서 ChatItem 컴포넌트에 전달 잘 되는 지 확인
  • props로 전달 받은 menus, onClick을 TabMenu에 props로 전달해서 TabMenu 변경할 때마다 잘 되는지 확인

📝 참고사항

선행 조건

@y0unj1NoH y0unj1NoH self-assigned this Nov 28, 2024
@y0unj1NoH y0unj1NoH linked a pull request Nov 29, 2024 that will close this issue
JW-Ahn0 added a commit that referenced this issue Nov 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants