diff --git a/components/datepicker/demo/transitionName.md b/components/datepicker/demo/transitionName.md deleted file mode 100644 index 8be56917a1..0000000000 --- a/components/datepicker/demo/transitionName.md +++ /dev/null @@ -1,17 +0,0 @@ -# 基本 - -- order: 0 - -启用动画。 - ---- - -````jsx -var Datepicker = antd.Datepicker; - -React.render( - -, document.getElementById('components-datepicker-demo-transitionname')); -```` diff --git a/components/datepicker/index.jsx b/components/datepicker/index.jsx index 6e69cb028b..08c27b581f 100644 --- a/components/datepicker/index.jsx +++ b/components/datepicker/index.jsx @@ -43,8 +43,8 @@ export default React.createClass({ return { format: 'yyyy-MM-dd', placeholder: '请选择日期', - onSelect: function () { - } + transitionName: 'slide-up', + onSelect: function () {} }; }, handleChange(v) {