import SwiftUI struct CreatorChannelDonationCountBar: View { let donationCount: Int var body: some View { HStack(spacing: SodaSpacing.s4) { Text("전체") .appFont(size: 16, weight: .medium) .foregroundColor(.white) Text("\(donationCount)") .appFont(size: 16, weight: .medium) .foregroundColor(Color.gray500) Spacer() } .padding(.horizontal, SodaSpacing.s14) .frame(height: 52) .background(Color.black) } } struct CreatorChannelDonationCountBar_Previews: PreviewProvider { static var previews: some View { CreatorChannelDonationCountBar(donationCount: 23) .previewLayout(.sizeThatFits) } }