From ca595c68f5e205bc7153e8a674bc04cc2c25ac07 Mon Sep 17 00:00:00 2001 From: afc163 Date: Mon, 19 Oct 2015 16:20:30 +0800 Subject: [PATCH] deprecate EnterAnimation --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 83a392dff0..1c5ec2af0d 100644 --- a/index.js +++ b/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;