react-google-font-loader
Advanced tools
Comparing version 1.0.2-alpha.1 to 1.0.2-alpha.2
@@ -93,4 +93,2 @@ 'use strict'; | ||
; | ||
GoogleFontLoader.propTypes = { | ||
@@ -100,5 +98,17 @@ fonts: _propTypes2.default.arrayOf(_propTypes2.default.shape({ | ||
weights: _propTypes2.default.arrayOf(_propTypes2.default.number) | ||
})) | ||
})).isRequired | ||
}; | ||
; | ||
/* | ||
GoogleFontLoader.propTypes = { | ||
fonts: PropTypes.arrayOf( | ||
PropTypes.shape({ | ||
font: PropTypes.string, | ||
weights: PropTypes.arrayOf(PropTypes.number), | ||
}), | ||
), | ||
}; | ||
*/ | ||
exports.default = GoogleFontLoader; |
{ | ||
"name": "react-google-font-loader", | ||
"version": "1.0.2-alpha.1", | ||
"version": "1.0.2-alpha.2", | ||
"description": "Simple React component to load Google Fonts.", | ||
@@ -13,4 +13,6 @@ "main": "build/index.js", | ||
}, | ||
"dependencies": { | ||
"prop-types": "^15.6.2" | ||
}, | ||
"peerDependencies": { | ||
"prop-types": "^15.6.2", | ||
"react": "^16.6.3", | ||
@@ -17,0 +19,0 @@ "react-dom": "^16.6.3" |
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
6968
86
+ Addedprop-types@^15.6.2