Skip to content

Commit

Permalink
Update REDME.md and podfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kishanraja committed Apr 18, 2021
1 parent 6ae2dbb commit 9c8ab96
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion FloatingLabelTextFieldSwiftUI.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'FloatingLabelTextFieldSwiftUI'
s.version = '4.1.0'
s.version = '4.2.0'
s.summary = 'A beautiful floating label textfield library written in SwiftUI.'

s.description = <<-DESC
Expand Down
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,11 @@ struct ThemeTextFieldStyle: FloatingLabelTextFieldStyle {
.textFont(.system(size: 15)) // Sets the text font.
.placeholderColor(.gray) // Sets the placeholder color.
.placeholderFont(.system(size: 15)) // Sets the placeholder font.
.errorColor(.red) /// Sets the error color.
.addDisableEditingAction([.paste]) /// Disable text field editing action. Like cut, copy, past, all etc.
.errorColor(.red) // Sets the error color.
.addDisableEditingAction([.paste]) // Disable text field editing action. Like cut, copy, past, all etc.
.enablePlaceholderOnFocus(true) // Enable the placeholder label when the textfield is focused.
.allowsHitTesting(true) // Whether this view participates in hit test operations.
.disabled(false) // Whether users can interact with this.
}
}
```
Expand Down

0 comments on commit 9c8ab96

Please sign in to comment.