mirror of
https://github.com/ant-design/ant-design.git
synced 2026-02-09 02:49:18 +08:00
deprecate EnterAnimation
This commit is contained in:
3
index.js
3
index.js
@@ -49,6 +49,9 @@ const antd = {
|
||||
Icon: require('./components/iconfont')
|
||||
};
|
||||
|
||||
// deprecate
|
||||
antd.EnterAnimation.prototype.render = require('util-deprecate')(antd.EnterAnimation.prototype.render, 'antd.EnterAnimation is deprecated, use antd.QueueAnim instead: http://ant.design/components/queue-anim');
|
||||
|
||||
module.exports = antd;
|
||||
|
||||
antd.version = require('./package.json').version;
|
||||
|
||||
Reference in New Issue
Block a user