import SwiftUI struct CreatorChannelCommunityUploadButton: View { let action: () -> Void var body: some View { VStack { Button(action: action) { HStack(spacing: SodaSpacing.s6) { Image("ic_new_upload_community_post") .resizable() .scaledToFit() .frame(width: 24, height: 24) Text(I18n.CreatorChannelHome.uploadCommunityPost) .appFont(size: 16, weight: .bold) .foregroundColor(.white) .lineLimit(1) } .frame(maxWidth: .infinity) .frame(height: 52) .padding(.horizontal, SodaSpacing.s14) .background(Color.soda400) .clipShape(Capsule()) } .buttonStyle(.plain) } .padding(.top, SodaSpacing.s14) .padding(.bottom, 34) .background(Color.black) } }