react-native-spinkit
Advanced tools
Comparing version
25
index.js
@@ -1,3 +0,4 @@ | ||
import React, {PropTypes} from 'react' | ||
import React from 'react' | ||
import ReactNative from 'react-native' | ||
import PropTypes from 'prop-types'; | ||
@@ -16,3 +17,3 @@ var { | ||
static propTypes = { | ||
type: React.PropTypes.string, | ||
type: PropTypes.string, | ||
/** | ||
@@ -26,12 +27,12 @@ * @prop color | ||
*/ | ||
color: React.PropTypes.oneOfType([React.PropTypes.string, React.PropTypes.number]), | ||
size: React.PropTypes.number, | ||
isVisible: React.PropTypes.bool, | ||
testID:React.PropTypes.string, | ||
accessibilityComponentType:PropTypes.string, | ||
accessibilityLabel:PropTypes.string, | ||
accessibilityLiveRegion:PropTypes.string, | ||
renderToHardwareTextureAndroid:PropTypes.bool, | ||
importantForAccessibility:PropTypes.string, | ||
onLayout:PropTypes.func, | ||
color: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), | ||
size: PropTypes.number, | ||
isVisible: PropTypes.bool, | ||
testID: PropTypes.string, | ||
accessibilityComponentType: PropTypes.string, | ||
accessibilityLabel: PropTypes.string, | ||
accessibilityLiveRegion: PropTypes.string, | ||
renderToHardwareTextureAndroid: PropTypes.bool, | ||
importantForAccessibility: PropTypes.string, | ||
onLayout: PropTypes.func, | ||
}; | ||
@@ -38,0 +39,0 @@ |
{ | ||
"name": "react-native-spinkit", | ||
"version": "1.0.3", | ||
"version": "1.1.0", | ||
"description": "A collection of animated loading indicators for React Native", | ||
@@ -31,3 +31,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"prop-types": "^15.5.8" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
-100%413119
-0.03%1
Infinity%286
-1.04%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added