//
//  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 {
            Text(club.acronym)
//            if displayContext == .edition {
//                Image(systemName: club.isFavorite() ? "star.fill" : "star")
//                    .foregroundStyle(club.isFavorite() ? .green : .logoRed)
//            }
        } label: {
            Text(club.name)
        }
    }
}

//#Preview {
//    ClubRowView(club: Club.mock())
//}
