Skip to content

Commit e468792

Browse files
committed
build
1 parent 99bac51 commit e468792

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

build/index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ var _react = require('react');
1010

1111
var _react2 = _interopRequireDefault(_react);
1212

13+
var _propTypes = require('prop-types');
14+
15+
var _propTypes2 = _interopRequireDefault(_propTypes);
16+
1317
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1418

1519
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) {
8892

8993
;
9094

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+
91102
exports.default = GoogleFontLoader;

0 commit comments

Comments
 (0)