diff --git a/components/enter-animation/index.jsx b/components/enter-animation/index.jsx index 9c5f5ec932..c46ab865a5 100644 --- a/components/enter-animation/index.jsx +++ b/components/enter-animation/index.jsx @@ -1,9 +1,11 @@ import React from 'react'; import EnterAnimation from 'enter-animation'; -export default class AntEnterAnimation extends React.Component { +class AntEnterAnimation extends React.Component { render() { return ; } } + AntEnterAnimation.to = EnterAnimation.to; +export default AntEnterAnimation;