File tree Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Expand file tree Collapse file tree 2 files changed +17
-5
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rc-queue-anim" ,
3
- "version" : " 0.11.11 " ,
3
+ "version" : " 0.11.12 " ,
4
4
"description" : " Queue animation component for react" ,
5
5
"keywords" : [
6
6
" react" ,
45
45
"precommit-hook" : " 1.x" ,
46
46
"rc-dialog" : " ~5.2.1" ,
47
47
"rc-tools" : " 5.x" ,
48
- "react" : " ~0.14 .0" ,
49
- "react-addons-test-utils" : " ~0.14 .0" ,
50
- "react-dom" : " ~0.14 .0" ,
48
+ "react" : " ~15.2 .0" ,
49
+ "react-addons-test-utils" : " ~15.2 .0" ,
50
+ "react-dom" : " ~15.2 .0" ,
51
51
"react-router" : " ~1.0.0-rc1"
52
52
},
53
53
"precommit" : [
Original file line number Diff line number Diff line change @@ -358,7 +358,19 @@ class QueueAnim extends React.Component {
358
358
key : placeholderKeyPrefix + child . key ,
359
359
} ) ;
360
360
} ) ;
361
- return createElement ( this . props . component , this . props , childrenToRender ) ;
361
+ const { ...tagProps } = this . props ;
362
+ [
363
+ 'component' ,
364
+ 'interval' ,
365
+ 'duration' ,
366
+ 'delay' ,
367
+ 'type' ,
368
+ 'animConfig' ,
369
+ 'ease' ,
370
+ 'leaveReverse' ,
371
+ 'animatingClassName' ,
372
+ ] . forEach ( key => delete tagProps [ key ] ) ;
373
+ return createElement ( this . props . component , { ...tagProps } , childrenToRender ) ;
362
374
}
363
375
}
364
376
You can’t perform that action at this time.
0 commit comments