feat: 팔로워 리스트

- 프로필 이미지를 터치하면 프로필 다이얼로그 표시
This commit is contained in:
Yu Sung
2025-06-13 19:56:44 +09:00
parent 24c97dbe51
commit a815bcfbf4
4 changed files with 30 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import Kingfisher
struct FollowerListItemView: View {
let item: GetFollowerListResponseItem
let clickProfile: (Int) -> Void
let creatorFollow: (Int) -> Void
let showCreatorFollowNotifyDialog: (Int) -> Void
@@ -28,6 +29,9 @@ struct FollowerListItemView: View {
.resizable()
.frame(width: 60, height: 60)
.clipShape(Circle())
.onTapGesture {
clickProfile(item.userId)
}
Text(item.nickname)
.font(.custom(Font.medium.rawValue, size: 16.7))
@@ -70,6 +74,7 @@ struct FollowerListItemView_Previews: PreviewProvider {
nickname: "상남자",
isFollow: false
),
clickProfile: { _ in },
creatorFollow: { _ in },
showCreatorFollowNotifyDialog: { _ in }
)