@@ -4,8 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
value : true
5
5
} ) ;
6
6
7
- var _extends = Object . assign || function ( target ) { for ( var i = 1 ; i < arguments . length ; i ++ ) { var source = arguments [ i ] ; for ( var key in source ) { if ( Object . prototype . hasOwnProperty . call ( source , key ) ) { target [ key ] = source [ key ] ; } } } return target ; } ;
8
-
9
7
var _createClass = function ( ) { function defineProperties ( target , props ) { for ( var i = 0 ; i < props . length ; i ++ ) { var descriptor = props [ i ] ; descriptor . enumerable = descriptor . enumerable || false ; descriptor . configurable = true ; if ( "value" in descriptor ) descriptor . writable = true ; Object . defineProperty ( target , descriptor . key , descriptor ) ; } } return function ( Constructor , protoProps , staticProps ) { if ( protoProps ) defineProperties ( Constructor . prototype , protoProps ) ; if ( staticProps ) defineProperties ( Constructor , staticProps ) ; return Constructor ; } ; } ( ) ;
10
8
11
9
var _react = require ( 'react' ) ;
@@ -75,13 +73,23 @@ var TailSpin = function (_Component) {
75
73
var _this2 = this ;
76
74
77
75
var color = this . state . color ;
76
+ var _props = this . props ,
77
+ style = _props . style ,
78
+ className = _props . className ;
78
79
79
80
80
81
return _react2 . default . createElement (
81
82
'svg' ,
82
- _extends ( { ref : function ref ( c ) {
83
+ {
84
+ ref : function ref ( c ) {
83
85
_this2 . svg = c ;
84
- } , width : '38' , height : '38' , viewBox : '0 0 38 38' , xmlns : 'http://www.w3.org/2000/svg' } , this . props ) ,
86
+ } ,
87
+ width : '38' , height : '38' ,
88
+ viewBox : '0 0 38 38' ,
89
+ xmlns : 'http://www.w3.org/2000/svg' ,
90
+ style : style ,
91
+ className : className
92
+ } ,
85
93
_react2 . default . createElement (
86
94
'defs' ,
87
95
null ,
@@ -132,4 +140,9 @@ var TailSpin = function (_Component) {
132
140
return TailSpin ;
133
141
} ( _react . Component ) ;
134
142
143
+ TailSpin . propTypes = {
144
+ className : _react . PropTypes . string ,
145
+ style : _react . PropTypes . object
146
+ } ;
147
+
135
148
exports . default = TailSpin ;
0 commit comments