ant-design/components/queue-anim/index.jsx

15 lines
451 B
React
Raw Normal View History

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 {
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');
}
render() {
2016-03-29 19:50:05 +08:00
return <RcQueueAnim {...this.props} />;
}
}