2016-03-29 19:50:05 +08:00
|
|
|
import React from 'react';
|
|
|
|
import RcQueueAnim from 'rc-queue-anim';
|
|
|
|
import warning from 'warning';
|
2015-10-19 15:36:32 +08:00
|
|
|
|
2016-03-29 19:50:05 +08:00
|
|
|
export default class QueueAnim extends React.Component {
|
2016-04-01 14:29:11 +08:00
|
|
|
componentDidMount() {
|
2016-04-01 23:06:38 +08:00
|
|
|
warning(false, '`QueueAnim` is deprecated, ' +
|
2016-03-29 19:50:05 +08:00
|
|
|
'you can import QueueAnim from \'rc-queue-anim\' directly.' +
|
|
|
|
'The Demo will be moved to http://motion.ant.design/#/component/queue-anim');
|
2016-04-01 14:29:11 +08:00
|
|
|
}
|
|
|
|
render() {
|
2016-03-29 19:50:05 +08:00
|
|
|
return <RcQueueAnim {...this.props} />;
|
|
|
|
}
|
|
|
|
}
|