tttstudios / react-native-otp-input

Tiny Javascript library which provides an elegant UI for user to input one time passcode.
MIT License
530 stars 239 forks source link

Added accessibilityLabel and testID props to pass custom test IDs. #120

Closed utpal-d4l closed 3 years ago

utpal-d4l commented 3 years ago

The main purpose of this PR is to allow adding accessibilityLabel and testID for OTP inputs so that they can be used for automation testing.

MaximilienMeyer commented 3 years ago

Hi @utpal-d4l @fpena I can see that this PR does not pass the test. Do you want some help to make this happen ? I also need the testID props on my project

utpal-d4l commented 3 years ago

Hi @MaximilienMeyer, I am going to close this PR as it was forked from my org repo. I have created a new PR for the same. https://github.com/tttstudios/react-native-otp-input/pull/140.