File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-native-awesome-button" ,
3
- "version" : " 1.3.3 " ,
3
+ "version" : " 1.3.4 " ,
4
4
"description" : " A React Native component rendering a button supporting showing different appearances and functionality given the passed props" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ class AwesomeButton extends Component {
82
82
83
83
if ( currentStateObject . onPress ) {
84
84
return (
85
- < TouchableOpacity style = { this . props . backgroundStyle } activeOpacity = { 0.92 } onPress = { currentStateObject . onPress } >
85
+ < TouchableOpacity style = { { flex : 1 } } activeOpacity = { 0.92 } onPress = { currentStateObject . onPress } >
86
86
< Animated . View style = { [ this . props . backgroundStyle , { backgroundColor : bgColor } ] } >
87
87
< InnerButtonView currentStateObject = { currentStateObject } labelStyle = { this . props . labelStyle } spinnerColor = { this . props . spinnerColor } />
88
88
</ Animated . View >
You can’t perform that action at this time.
0 commit comments