Skip to content

Commit

Permalink
๐Ÿ’„ :: [#38] Edit SignUp Design ๋ณ€๊ฒฝ์‚ฌํ•ญ ์ ์šฉ
Browse files Browse the repository at this point in the history
  • Loading branch information
Xixn2 committed Nov 4, 2024
1 parent fbc0fe9 commit 08352e0
Showing 1 changed file with 23 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ struct SignupView: View {
@State private var passwordTextField: String = ""
@State private var passwordCheckTextField: String = ""
@State private var userNumberTextField: String = ""
@State private var codeTextField: String = ""
@State private var showError: Bool = false
@State private var isActive = false
@StateObject var viewModel: AuthViewModel
Expand Down Expand Up @@ -79,12 +80,30 @@ struct SignupView: View {
.padding(.top, 10)

ExpoTextField(
"์—ฐ๋ฝ์ฒ˜๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”.",
"์—ฐ๋ฝ์ฒ˜๋Š” '-' ๋นผ๊ณ  ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”",
text: $userNumberTextField,
title: "์—ฐ๋ฝ์ฒ˜"
)
.padding(.top, 20)

HStack(spacing: 0) {
ExpoTextField(
"์ธ์ฆ ๋ฒˆํ˜ธ ์ž…๋ ฅ",
text: $codeTextField
)

ExpoButton(
text: "ํ™•์ธ",
horizontalPadding: 22,
verticalPadding: 12
){
// Action
}
.padding(.trailing, 16)
}
.padding(.top, 8)


ExpoButton(
text: "๋กœ๊ทธ์ธ",
horizontalPadding: 160,
Expand Down Expand Up @@ -127,6 +146,6 @@ struct SignupView: View {
}
}

//#Preview {
// SignupView(viewModel: AuthViewModel())
//}
#Preview {
SignupView(viewModel: AuthViewModel())
}

0 comments on commit 08352e0

Please sign in to comment.