File tree 3 files changed +11
-10
lines changed
3 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 11
11
},
12
12
"dependencies" : {
13
13
"@freakycoder/react-native-bounceable" : " ^0.2.4" ,
14
- "@freakycoder/react-native-text-input" : " ^0.1.7 " ,
14
+ "@freakycoder/react-native-text-input" : " ^0.1.8 " ,
15
15
"react" : " 16.13.1" ,
16
16
"react-native" : " 0.63.3"
17
17
},
Original file line number Diff line number Diff line change @@ -63,14 +63,15 @@ const RNTextInput: React.FC<IRNTextInputProps> = ({
63
63
placeholder = { placeholderText }
64
64
style = { [ styles . textInputStyle , textInputStyle ] }
65
65
/>
66
- { ( ! disableButton && iconComponent ) || (
67
- < RNBounceable style = { [ styles . buttonStyle , buttonStyle ] } >
68
- < ImageComponent
69
- source = { defaultArrowIcon }
70
- style = { [ styles . iconImageStyle , iconImageStyle ] }
71
- />
72
- </ RNBounceable >
73
- ) }
66
+ { ! disableButton &&
67
+ ( iconComponent || (
68
+ < RNBounceable style = { [ styles . buttonStyle , buttonStyle ] } >
69
+ < ImageComponent
70
+ source = { defaultArrowIcon }
71
+ style = { [ styles . iconImageStyle , iconImageStyle ] }
72
+ />
73
+ </ RNBounceable >
74
+ ) ) }
74
75
</ View >
75
76
) ;
76
77
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @freakycoder/react-native-text-input" ,
3
- "version" : " 0.1.7 " ,
3
+ "version" : " 0.1.8 " ,
4
4
"description" : " Modern text input with fully customization options for React Native" ,
5
5
"main" : " ./build/dist/RNTextInput.js" ,
6
6
"repository" :
" [email protected] :WrathChaos/react-native-text-input.git" ,
You can’t perform that action at this time.
0 commit comments