Created
January 28, 2020 03:05
-
-
Save duanebester/11e0656458c285f265a872560deb5931 to your computer and use it in GitHub Desktop.
Tab Icons View
This file contains hidden or 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
import SwiftUI | |
struct TabIconsView: View { | |
var body: some View { | |
HStack { | |
Spacer() | |
Image(systemName: "person.crop.circle") | |
.resizable() | |
.aspectRatio(contentMode: .fit) | |
.frame(width: 25, height: 25) | |
Spacer() | |
Image(systemName: "music.note.list") | |
.resizable() | |
.aspectRatio(contentMode: .fit) | |
.frame(width: 25, height: 25) | |
Spacer() | |
Image(systemName: "gear") | |
.resizable() | |
.aspectRatio(contentMode: .fit) | |
.frame(width: 25, height: 25) | |
Spacer() | |
Image(systemName: "square.and.pencil") | |
.resizable() | |
.aspectRatio(contentMode: .fit) | |
.frame(width: 25, height: 25) | |
Spacer() | |
}.padding(16) | |
} | |
} | |
struct TabIconsView_Previews: PreviewProvider { | |
static var previews: some View { | |
TabIconsView() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment