// // ClubRowView.swift // PadelClub // // Created by Razmig Sarkissian on 27/03/2024. // import SwiftUI struct ClubRowView: View { let club: Club var displayContext: DisplayContext = .edition var body: some View { LabeledContent { // if displayContext == .edition { // Image(systemName: club.isFavorite() ? "star.fill" : "star") // .foregroundStyle(club.isFavorite() ? .green : .logoRed) // } } label: { Text(club.name) Text(club.acronym) } } } #Preview { ClubRowView(club: Club.mock()) }