react-otp-input
react-otp-input copied to clipboard
feat: add `onBlur` and `onFocus` callback support
-
What does this PR do? Fixes #17
-
Any background context you want to provide? We're basically adding support for
blur
orfocus
callbacks -
Screenshots and/or Live Demo See console in the
example
sandbox:
https://github.com/devfolioco/react-otp-input/assets/20970325/2408b75d-906d-45d7-9cf8-8cf079f5c86f
Hi @prateek3255! I'm re-opening #403 with the proposed changes, let me know any feedback that you may have! Thanks in advance