-
-
Save laevandus/4d36b019d3079ed3663b80f81af17069 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct ContentView: View { | |
var body: some View { | |
Grid(alignment: .center, | |
horizontalSpacing: 16, | |
verticalSpacing: 8) { | |
Separator(title: "Today") | |
.gridCellUnsizedAxes(.horizontal) | |
GridRow { | |
Text("Finals") | |
Cell(title: "Archery", imageName: "figure.archery") | |
Cell(title: "Badminton", imageName: "figure.badminton") | |
} | |
Separator(title: "Tomorrow") | |
.gridCellUnsizedAxes(.horizontal) | |
GridRow(alignment: .bottom) { | |
Text("Qualifications") | |
Cell(title: "Bowling", imageName: "figure.archery") | |
Cell(title: "Golf", imageName: "figure.golf") | |
Cell(title: "Handball", imageName: "figure.handball") | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment