File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ var _react = require('react');
10
10
11
11
var _react2 = _interopRequireDefault ( _react ) ;
12
12
13
+ var _propTypes = require ( 'prop-types' ) ;
14
+
15
+ var _propTypes2 = _interopRequireDefault ( _propTypes ) ;
16
+
13
17
function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { default : obj } ; }
14
18
15
19
function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
@@ -88,4 +92,11 @@ var GoogleFontLoader = function (_React$PureComponent) {
88
92
89
93
;
90
94
95
+ GoogleFontLoader . propTypes = {
96
+ fonts : _propTypes2 . default . arrayOf ( _propTypes2 . default . shape ( {
97
+ font : _propTypes2 . default . string ,
98
+ weights : _propTypes2 . default . arrayOf ( _propTypes2 . default . number )
99
+ } ) ) . isRequired
100
+ } ;
101
+
91
102
exports . default = GoogleFontLoader ;
You can’t perform that action at this time.
0 commit comments