Last active
August 7, 2020 22:43
-
-
Save azamsharp/563cd280f8b1fd3587548503f6bda89d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TextField("CVV", text: $cvv) { (editingChanged) in | |
withAnimation { | |
degrees += 180 | |
flipped.toggle() | |
} | |
} onCommit: {} | |
.textFieldStyle(RoundedBorderTextFieldStyle()) | |
.padding([.leading,.trailing]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment