@@ -10,6 +10,10 @@ var _react = require('react');
1010
1111var _react2 = _interopRequireDefault ( _react ) ;
1212
13+ var _propTypes = require ( 'prop-types' ) ;
14+
15+ var _propTypes2 = _interopRequireDefault ( _propTypes ) ;
16+
1317function _interopRequireDefault ( obj ) { return obj && obj . __esModule ? obj : { default : obj } ; }
1418
1519function _classCallCheck ( instance , Constructor ) { if ( ! ( instance instanceof Constructor ) ) { throw new TypeError ( "Cannot call a class as a function" ) ; } }
@@ -20,12 +24,12 @@ function _inherits(subClass, superClass) { if (typeof superClass !== "function"
2024
2125
2226var propTypes = {
23- table : _react . PropTypes . string . isRequired ,
24- filename : _react . PropTypes . string . isRequired ,
25- sheet : _react . PropTypes . string . isRequired ,
26- id : _react . PropTypes . string ,
27- className : _react . PropTypes . string ,
28- buttonText : _react . PropTypes . string
27+ table : _propTypes2 . default . string . isRequired ,
28+ filename : _propTypes2 . default . string . isRequired ,
29+ sheet : _propTypes2 . default . string . isRequired ,
30+ id : _propTypes2 . default . string ,
31+ className : _propTypes2 . default . string ,
32+ buttonText : _propTypes2 . default . string
2933} ;
3034
3135var ReactHTMLTableToExcel = function ( _Component ) {
0 commit comments