rn-progress-loader
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "rn-progress-loader", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "The React Native Native iOS and Android progress indicator (spinner) which acts like an overlay. For those who have issues in iPhoneX while using both Modal and ActivityIndicator, I've made it optional", | ||
@@ -11,3 +11,3 @@ "main": "ProgressLoader.js", | ||
"type": "git", | ||
"url": "https://github.com/anooj1483" | ||
"url": "https://github.com/anooj1483/rn-progress-loader" | ||
}, | ||
@@ -43,3 +43,3 @@ "keywords": [ | ||
"author": "Anooj Krishnan G <anooj1483@gmail.com>", | ||
"license": "GPL" | ||
"license": "MIT" | ||
} |
@@ -39,3 +39,4 @@ /** | ||
hudColor:PropTypes.string, | ||
isHUD:PropTypes.bool | ||
isHUD:PropTypes.bool, | ||
size:PropTypes.number | ||
@@ -50,3 +51,5 @@ }; | ||
hudColor:'#FFFFFF', | ||
isHUD:false | ||
isHUD:false, | ||
size:60, | ||
radius:10 | ||
}; | ||
@@ -63,4 +66,4 @@ | ||
onRequestClose={() => {console.log('close modal')}}> | ||
<View style={styles.modalBackground}> | ||
<View style={[styles.activityIndicatorWrapper,{backgroundColor:(this.props.isHUD?(this.props.hudColor):("transparent"))}]}> | ||
<View style={[styles.modalBackground]}> | ||
<View style={[styles.activityIndicatorWrapper,{width:this.props.size,height:this.props.size},{backgroundColor:(this.props.isHUD?(this.props.hudColor):("transparent"))}]}> | ||
{this.renderActivityIndicator()} | ||
@@ -127,4 +130,4 @@ </View> | ||
backgroundColor: 'transparent', | ||
height: 75, | ||
width: 75, | ||
height: 60, | ||
width: 60, | ||
borderRadius: 10, | ||
@@ -131,0 +134,0 @@ display: 'flex', |
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
Misc. License Issues
License(Experimental) A package's licensing information has fine-grained problems.
Found 1 instance in 1 package
716829
0
142