File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 11/* eslint react/prop-types: 0 */
22import React from 'react' ;
3- import OriginCSSMotion , { MotionPropTypes } from './CSSMotion' ;
3+ import OriginCSSMotion from './CSSMotion' ;
44import { supportTransition } from './util/motion' ;
55import {
66 STATUS_ADD ,
@@ -11,7 +11,28 @@ import {
1111 parseKeys ,
1212} from './util/diff' ;
1313
14- const MOTION_PROP_NAMES = Object . keys ( MotionPropTypes ) ;
14+ const MOTION_PROP_NAMES = [
15+ 'eventProps' ,
16+ 'visible' ,
17+ 'children' ,
18+ 'motionName' ,
19+ 'motionAppear' ,
20+ 'motionEnter' ,
21+ 'motionLeave' ,
22+ 'motionLeaveImmediately' ,
23+ 'motionDeadline' ,
24+ 'removeOnLeave' ,
25+ 'leavedClassName' ,
26+ 'onAppearStart' ,
27+ 'onAppearActive' ,
28+ 'onAppearEnd' ,
29+ 'onEnterStart' ,
30+ 'onEnterActive' ,
31+ 'onEnterEnd' ,
32+ 'onLeaveStart' ,
33+ 'onLeaveActive' ,
34+ 'onLeaveEnd' ,
35+ ] ;
1536
1637export function genCSSMotionList ( transitionSupport , CSSMotion = OriginCSSMotion ) {
1738 class CSSMotionList extends React . Component {
You can’t perform that action at this time.
0 commit comments