From 938d78f615d896720afde3f8b5808b55673b8888 Mon Sep 17 00:00:00 2001 From: lsh1202 Date: Tue, 30 Jul 2024 17:15:57 +0900 Subject: [PATCH] =?UTF-8?q?:fix:=20::=20=ED=85=8D=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=ED=95=84=EB=93=9C=20initializer=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sources/QDS/Component/TextField/QvickTextField.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Sources/QDS/Component/TextField/QvickTextField.swift b/Sources/QDS/Component/TextField/QvickTextField.swift index 33c5a1b..9462877 100644 --- a/Sources/QDS/Component/TextField/QvickTextField.swift +++ b/Sources/QDS/Component/TextField/QvickTextField.swift @@ -13,6 +13,12 @@ public struct QvickTextField: View { @State var isTab: Bool = false let isSecure: Bool + public init(text: Binding, 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)