import SwiftUI
struct ContentView: View {
var body: some View {
HStack {
CardView ()
CardView ()
CardView ()
CardView ()
CardView ()
}
.padding(.horizontal)
.foregroundColor(/*@START_MENU_TOKEN@*/.red/*@END_MENU_TOKEN@*/)
}
}
struct CardView: View {
var body: some View {
ZStack {
RoundedRectangle(cornerRadius:20).stroke(lineWidth:3)
Text("Hello, world")
}
}
}