// // SettingsStatisticRow.swift // Caps // // Created by CH on 26.05.22. // import SwiftUI struct SettingsStatisticRow: View { let label: String let value: String var body: some View { HStack { Text(label) Spacer() Text(value) } } } struct SettingsStatisticRow_Previews: PreviewProvider { static var previews: some View { SettingsStatisticRow(label: "Label", value: "Value") .previewLayout(.fixed(width: 375, height: 40)) } }