You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Swift_Ark/InfoDetailView.swift

27 lines
898 B

struct IgaSwiatekView: View {
var body: some View {
ZStack {
Color.purple.edgesIgnoringSafeArea(.all)
VStack(alignment: .leading, spacing: 20) {
Text("Iga Swiatek")
.font(.largeTitle)
.fontWeight(.bold)
.foregroundColor(.white)
HStack {
Image(systemName: "flag.fill")
.foregroundColor(.white)
Text("POLAND")
.foregroundColor(.white)
}
InfoRow(title: "Height", value: "5' 9\"")
InfoRow(title: "Age", value: "22")
InfoRow(title: "Plays", value: "Right-Handed")
InfoRow(title: "Birthplace", value: "Warsaw, Poland")
}
.padding()
}
}
}