Browse Source

Mark QueueAnim deperated

pull/1296/head
afc163 9 years ago
parent
commit
e0d486bbe6
  1. 13
      components/queue-anim/index.jsx
  2. 2
      components/queue-anim/index.md

13
components/queue-anim/index.jsx

@ -1,3 +1,12 @@
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} />;
}
}

2
components/queue-anim/index.md

@ -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)。
元素依次进场。

Loading…
Cancel
Save