Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct ContentView : View {
- @State var username: String = ""
- @State var password: String = ""
- var body: some View {
- VStack {
- WelcomeText()
- UserImage()
- UsernameTextField(username: $username)
- SecureField($password, placeholder: Text("Password"))
- .padding()
- .background(lightGreyColor)
- .cornerRadius(5.0)
- .padding(.bottom, 20)
- Button(action: {print("Button tapped")}) {
- LoginButtonContent()
- }
- }
- .padding()
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement