-
-
Save sturdysturge/bd12b5cd8857fc42c0575daa270fd6d1 to your computer and use it in GitHub Desktop.
LabelView
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 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