@redu/react-native-component-layout
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -45,3 +45,3 @@ /** | ||
return ( | ||
<Break style={[buttonStyle, style]} {...props}> | ||
<Break bottom={0} style={[buttonStyle, style]} {...props}> | ||
<ActivityIndicator size="small" color={activityIndicatorColour} /> | ||
@@ -53,3 +53,3 @@ </Break> | ||
return ( | ||
<Break onPress={onPress} all={0} style={[buttonStyle, style]} {...props}> | ||
<Break onPress={onPress} bottom={0} style={[buttonStyle, style]} {...props}> | ||
{children} | ||
@@ -56,0 +56,0 @@ </Break> |
@@ -31,3 +31,3 @@ { | ||
"description": "Layout components", | ||
"gitHead": "0e676cdb1240a8eb7d6348d8d0590e23c17b6a9f", | ||
"gitHead": "a4d77dfb876b117e791b9d406dfb4694587e4bf1", | ||
"license": "ISC", | ||
@@ -39,3 +39,3 @@ "main": "index.js", | ||
}, | ||
"version": "1.2.1" | ||
"version": "1.2.2" | ||
} |
@@ -24,2 +24,3 @@ /** | ||
* @param align | ||
* @param justify | ||
* @param onPress, | ||
@@ -44,2 +45,3 @@ * @param style | ||
align, | ||
justify, | ||
onPress = null, | ||
@@ -63,2 +65,3 @@ style, | ||
alignItems: align, | ||
justifyContent: justify, | ||
flexWrap: wrap ? "wrap" : "nowrap" | ||
@@ -81,3 +84,4 @@ }, | ||
wrap: true, | ||
align: "center" | ||
align: null, | ||
justify: null | ||
}; | ||
@@ -96,5 +100,6 @@ | ||
wrap: PropTypes.bool, | ||
align: PropTypes.string | ||
align: PropTypes.string, | ||
justify: PropTypes.string | ||
}; | ||
export default Wrap; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9435
362