From 1aa396e2a7d7ed0b4b5d7f38c8af1157541412e7 Mon Sep 17 00:00:00 2001 From: Du Spada Date: Thu, 15 Jul 2021 19:37:51 -0300 Subject: [PATCH] fix(pwd-input): onRightIconPress --- package.json | 2 +- src/components/TextInput/PasswordInput/index.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 13c067ba..7d1be015 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@platformbuilders/react-native-elements", - "version": "0.2.5", + "version": "0.2.6", "description": "Platform Builders Shared Components Library For React Native", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/components/TextInput/PasswordInput/index.tsx b/src/components/TextInput/PasswordInput/index.tsx index 1e657589..112eba74 100644 --- a/src/components/TextInput/PasswordInput/index.tsx +++ b/src/components/TextInput/PasswordInput/index.tsx @@ -21,6 +21,7 @@ const PasswordInput: FC = (props) => { rightIconName={hidePassword ? 'eye' : 'eye-off'} iconTouchableEnabled onPressIcon={onPressShowPassword} + onRightIconPress={onPressShowPassword} iconHitSlop={hitSlop} {...props} />