@redu/react-native-component-layout
Advanced tools
Comparing version
@@ -20,2 +20,3 @@ /** | ||
* @param onPress | ||
* @param style | ||
* @param props | ||
@@ -32,2 +33,3 @@ * | ||
onPress, | ||
style, | ||
...props | ||
@@ -45,3 +47,3 @@ }) => { | ||
return ( | ||
<Break style={buttonStyle} {...props}> | ||
<Break style={[buttonStyle, style]} {...props}> | ||
<ActivityIndicator size="small" color={activityIndicatorColour} /> | ||
@@ -53,3 +55,3 @@ </Break> | ||
return ( | ||
<Break onPress={onPress} all={0} style={buttonStyle} {...props}> | ||
<Break onPress={onPress} all={0} style={[buttonStyle, style]} {...props}> | ||
{children} | ||
@@ -56,0 +58,0 @@ </Break> |
@@ -31,3 +31,3 @@ { | ||
"description": "Layout components", | ||
"gitHead": "4222909dadebb4e1e9238ee052beb105756875f8", | ||
"gitHead": "0e676cdb1240a8eb7d6348d8d0590e23c17b6a9f", | ||
"license": "ISC", | ||
@@ -39,3 +39,3 @@ "main": "index.js", | ||
}, | ||
"version": "1.2.0" | ||
"version": "1.2.1" | ||
} |
9315
0.46%357
0.56%