Last active
August 24, 2022 15:23
-
-
Save andrew-levy/985f179944bca71d3c5450ce095b26e0 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
import SwiftUI | |
struct App: View { | |
@State var text = "" | |
var body: some View { | |
VStack(alignment: .leading) { | |
Text("Some cool text").font(.title) | |
Image(systemName: "bolt.fill").frame(width: 100, height: 100) | |
TextField("Name", text: $text) | |
} | |
.background(Color(.systemGray6)) | |
.padding(.leading, 30) | |
.cornerRadius(20) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment