//
//  ReassuranceIndicatorsRow.swift
//  AlloVoisinsSwiftUI
//
//  Created by Victor on 22/01/2025.
//

import SwiftUI

struct ReassuranceIndicatorsRow: View {
    let indicators: [ReassuranceIndicator]

    var body: some View {
        HStack(spacing: 8) {
            ForEach(indicators) { indicator in
                ReassuranceIndicatorSection(indicator: indicator)
                if indicator.id != indicators.last?.id {
                    Spacer()
                }
            }
        }
        .padding(.horizontal)
    }
}
