From 565d67ea27c6da14351c81c798320dad6a1a37e7 Mon Sep 17 00:00:00 2001 From: Suraneti Rodsuwan Date: Wed, 20 May 2020 15:10:34 +0700 Subject: [PATCH] Add accessibilityLabel prop for testing on Android --- src/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.js b/src/index.js index 0a00f22..b87ce59 100644 --- a/src/index.js +++ b/src/index.js @@ -133,6 +133,7 @@ class SmoothPinCodeInput extends Component { animationFocused, animated, testID, + accessibilityLabel, editable, inputProps, disableFullscreenUI, @@ -234,6 +235,7 @@ class SmoothPinCodeInput extends Component { textAlign: 'center', }} testID={testID || undefined} + accessibilityLabel={accessibilityLabel || undefined} editable={editable} {...inputProps} />