@teamnhz/rn-ui-toolkit 1.3.4 → 1.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -1
- package/dist/components/Input/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -166,7 +166,6 @@ Required for **ImagePicker** and **DocumentPicker**:
|
|
|
166
166
|
```xml
|
|
167
167
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
168
168
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32"/>
|
|
169
|
-
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
|
|
170
169
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
171
170
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" android:maxSdkVersion="32"/>
|
|
172
171
|
<uses-permission android:name="android.permission.CAMERA"/>
|
|
@@ -94,7 +94,7 @@ const Input = ({ intlType, textKey, placeholder, inputPlaceholderTextColor, left
|
|
|
94
94
|
], placeholder: translatedPlaceholder, placeholderTextColor: inputPlaceholderTextColor
|
|
95
95
|
? inputPlaceholderTextColor
|
|
96
96
|
: Colors.textGrey, editable: editable, secureTextEntry: secureText, keyboardType: keyboardType, value: value, onChangeText: handleChangeText, onFocus: handleFocus, onBlur: handleBlur, multiline: multiline, maxLength: maxLength, returnKeyType: returnKeyType, ...rest }),
|
|
97
|
-
type === "password" ? (React.createElement(TouchableOpacity, { onPress: () => setSecureText(!secureText), style: [styles.iconWrapper, rightIconWrapperStyle] },
|
|
97
|
+
type === "password" && !rightIcon ? (React.createElement(TouchableOpacity, { onPress: () => setSecureText(!secureText), style: [styles.iconWrapper, rightIconWrapperStyle] },
|
|
98
98
|
React.createElement(Image, { source: secureText ? Images.Eyeoff : Images.Eyeon, style: [styles.icon, rightIconStyle], resizeMode: "contain" }))) : (rightIcon && (React.createElement(TouchableOpacity, { onPress: onRightIconPress, disabled: !onRightIconPress, style: [styles.iconWrapper, rightIconWrapperStyle] },
|
|
99
99
|
React.createElement(Image, { source: rightIcon, style: [styles.icon, rightIconStyle], resizeMode: "contain" }))))),
|
|
100
100
|
showError && isError && (React.createElement(Text, { style: [styles.errorText, errorTextStyle] }, showError))));
|