We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0b301 commit bd9d012Copy full SHA for bd9d012
README.md
@@ -0,0 +1,16 @@
1
+# Usage
2
+
3
+```
4
+@State private var text: String = ""
5
+@FocusState private var isActive: Bool
6
7
+YYTextFieldWithKeyboard {
8
+ TextField("", text: $text)
9
+ .padding(.horizontal, 10)
10
+ .padding(.vertical, 6)
11
+ .frame(width: 150)
12
+ .focused($isActive)
13
+} keyboard: {
14
+ CustomNumberKeyboard(text: $text, isActive: $isActive, config: .default)
15
+}
16
0 commit comments