Skip to content

Commit

Permalink
:fix: :: 텍스트 필드 initializer 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
lsh1202 committed Jul 30, 2024
1 parent ea485cd commit 938d78f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Sources/QDS/Component/TextField/QvickTextField.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ public struct QvickTextField: View {
@State var isTab: Bool = false
let isSecure: Bool

public init(text: Binding<String>, prompt: String, isSecure: Bool) {
self._text = text
self.prompt = prompt
self.isSecure = isSecure
}

public var body: some View {
RoundedRectangle(cornerRadius: 15)
.frame(width: 340, height: 60)
Expand Down

0 comments on commit 938d78f

Please sign in to comment.