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

15 lines
454 B
TypeScript
Raw Normal View History

2016-07-07 20:25:03 +08:00
import * as React from 'react';
2016-03-29 19:50:05 +08:00
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.' +
2016-07-21 18:07:49 +08:00
'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} />;
}
}