Code: Select all
struct Clock10View: View {
let light: Bool
var body: some View {
ZStack() {
Rectangle()
.frame(width: 6, height: 6)
.foregroundColor(.gray)
Rectangle()
.frame(width: 5, height: 5)
.foregroundColor(.red)
}
}
}
Code: Select all
struct Clock10View: View {
let light: Bool
var body: some View {
ZStack() {
Rectangle()
.frame(width: 6, height: 6)
.foregroundColor(.gray)
Rectangle()
.frame(width: 5, height: 5)
.foregroundColor(.red)
}
}
}