提交 f89d2dba 编写于 作者: A afc163

Merge pull request #1296 from ant-design/deperated-queue-anim

Mark QueueAnim deperated
import QueueAnim from 'rc-queue-anim';
import React from 'react';
import RcQueueAnim from 'rc-queue-anim';
import warning from 'warning';
export default QueueAnim;
export default class QueueAnim extends React.Component {
render() {
warning(false, '`QueueAnim` is deperated, ' +
'you can import QueueAnim from \'rc-queue-anim\' directly.' +
'The Demo will be moved to http://motion.ant.design/#/component/queue-anim');
return <RcQueueAnim {...this.props} />;
}
}
......@@ -19,7 +19,7 @@
## API
> 此组件取代了 0.9.x 版本的 [enter-animation](http://09x.ant.design/components/enter-animation/)。
> 此组件 `antd@1.0.0+` 后标记为废弃,您可以直接使用 `import QueueAnim from 'rc-queue-anim'` 来代替。文档后续会移到 [ant-motioin](http://motion.ant.design/#/component/queue-anim)。
元素依次进场。
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册