@redu/react-native-component-layout
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -7,3 +7,3 @@ /** | ||
import React from "react"; | ||
import { View, Text, ActivityIndicator } from "react-native"; | ||
import { ActivityIndicator } from "react-native"; | ||
import PropTypes from "prop-types"; | ||
@@ -44,5 +44,5 @@ import Break from "./Break"; | ||
return ( | ||
<View style={buttonStyle} {...props}> | ||
<Break style={buttonStyle} {...props}> | ||
<ActivityIndicator size="small" color={activityIndicatorColour} /> | ||
</View> | ||
</Break> | ||
); | ||
@@ -49,0 +49,0 @@ } |
@@ -31,3 +31,3 @@ { | ||
"description": "Layout components", | ||
"gitHead": "388d77bbb1e074ecfbf8f2c96aa4e227901382ff", | ||
"gitHead": "4222909dadebb4e1e9238ee052beb105756875f8", | ||
"license": "ISC", | ||
@@ -39,3 +39,3 @@ "main": "index.js", | ||
}, | ||
"version": "1.1.0" | ||
"version": "1.2.0" | ||
} |
10
Text.js
@@ -10,3 +10,2 @@ /** | ||
import PropTypes from "prop-types"; | ||
import Break from "./Break"; | ||
@@ -24,2 +23,3 @@ /** | ||
* @param align | ||
* @param lineHeight | ||
* @param url | ||
@@ -40,2 +40,3 @@ * @param style | ||
align, | ||
lineHeight, | ||
url, | ||
@@ -68,3 +69,4 @@ style, | ||
textDecorationLine, | ||
color | ||
color, | ||
lineHeight: lineHeight | ||
}, | ||
@@ -83,3 +85,4 @@ style | ||
size: 14, | ||
color: "#404040" | ||
color: "#404040", | ||
lineHeight: null | ||
}; | ||
@@ -95,2 +98,3 @@ | ||
align: PropTypes.string, | ||
lineHeight: PropTypes.number, | ||
style: PropTypes.any | ||
@@ -97,0 +101,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
9272
355