Created
March 22, 2020 17:34
-
-
Save hrvolapeter/378d5a8e7b22c7c35ba6a80a872167e8 to your computer and use it in GitHub Desktop.
Zetten - login link to create account part 3
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 LoginView: View { | |
@State var email: String = "" | |
@State var password: String = "" | |
var body: some View { | |
NavigationView { | |
VStack { | |
... | |
NavigationLink(destination: CreateAccountView()) { | |
Text("Don't have an account?").foregroundColor(.gray) | |
Text("Create an account") | |
}.font(.footnote) | |
Spacer() | |
}.padding() | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment