Skip to content

Instantly share code, notes, and snippets.

@sturdysturge
Last active July 21, 2020 17:28
Show Gist options
  • Save sturdysturge/bd12b5cd8857fc42c0575daa270fd6d1 to your computer and use it in GitHub Desktop.
Save sturdysturge/bd12b5cd8857fc42c0575daa270fd6d1 to your computer and use it in GitHub Desktop.
LabelView
struct LabelView: View {
var body: some View {
VStack {
Label("Games", systemImage: "gamecontroller")
HStack {//Roughly equivalent to
Image(systemName: "gamecontroller")
Text("Games")
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment