ios ui refactor

This commit is contained in:
Trey t
2025-11-05 17:15:17 -06:00
parent 1d48a9bff1
commit 86c89121e1
24 changed files with 1086 additions and 634 deletions

View File

@@ -0,0 +1,32 @@
import SwiftUI
struct PropertyDetailItem: View {
let icon: String
let value: String
let label: String
var body: some View {
VStack(spacing: 4) {
Image(systemName: icon)
.font(.caption)
.foregroundColor(.blue)
Text(value)
.font(.subheadline)
.fontWeight(.semibold)
Text(label)
.font(.caption2)
.foregroundColor(.secondary)
}
}
}
#Preview {
HStack(spacing: 24) {
PropertyDetailItem(icon: "bed.double.fill", value: "3", label: "Beds")
PropertyDetailItem(icon: "shower.fill", value: "2.5", label: "Baths")
PropertyDetailItem(icon: "square.fill", value: "1800", label: "Sq Ft")
}
.padding()
}