@redu/react-native-component-layout
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -31,3 +31,3 @@ { | ||
"description": "Layout components", | ||
"gitHead": "a4d77dfb876b117e791b9d406dfb4694587e4bf1", | ||
"gitHead": "269c18cd60c0a7c882259b049a7354c75a36b371", | ||
"license": "ISC", | ||
@@ -39,3 +39,3 @@ "main": "index.js", | ||
}, | ||
"version": "1.2.2" | ||
"version": "1.2.3" | ||
} |
@@ -24,2 +24,3 @@ /** | ||
* @param url | ||
* @param disabled | ||
* @param style | ||
@@ -41,2 +42,3 @@ * @param props | ||
url, | ||
disabled, | ||
style, | ||
@@ -57,3 +59,3 @@ ...props | ||
const optionalLink = url ? { onPress: () => Linking.openURL(url) } : null; | ||
const optionalLink = (url && !disabled) ? { onPress: () => Linking.openURL(url) } : null; | ||
@@ -97,2 +99,4 @@ return ( | ||
lineHeight: PropTypes.number, | ||
disabled: PropTypes.bool, | ||
url: PropTypes.string, | ||
style: PropTypes.any | ||
@@ -99,0 +103,0 @@ }; |
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
9534
366