Created
June 27, 2019 03:26
-
-
Save culjo/17a2a1dcee57bb810d6a734767ba52e1 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
Button(action: submit) { | |
HStack(alignment: .center) { | |
Spacer() | |
Text("Login").color(Color.white).bold() | |
Spacer() | |
} | |
}.padding().background(Color.green).cornerRadius(4.0) | |
//.. remaining body of view | |
//.. out body view | |
func submit() { | |
loginViewModel.performLogin() // to be implement | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment