byted-girls-components
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -78,2 +78,6 @@ 'use strict'; | ||
function noop() { | ||
return Promise.resolve(); | ||
} | ||
var FansGift = function (_React$PureComponent) { | ||
@@ -353,5 +357,5 @@ _inherits(FansGift, _React$PureComponent); | ||
FansGift.propTypes = { | ||
isLogin: _propTypes2.default.bool, | ||
activity: _propTypes2.default.object, | ||
activityId: _propTypes2.default.string, | ||
isLogin: _propTypes2.default.bool.isRequired, | ||
activity: _propTypes2.default.object.isRequired, | ||
activityId: _propTypes2.default.string.isRequired, | ||
@@ -364,2 +368,9 @@ joinActivity: _propTypes2.default.func, | ||
}; | ||
FansGift.defaultProps = { | ||
joinActivity: noop, | ||
registerShare: noop, | ||
share: noop, | ||
sendAppLog: noop, | ||
openLoginPanel: noop | ||
}; | ||
exports.default = FansGift; |
{ | ||
"name": "byted-girls-components", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
585694
25
1265
1
46