default motion for datepicker

This commit is contained in:
afc163 2015-07-01 20:50:12 +08:00
parent 228a1042b6
commit c876a71a54
2 changed files with 2 additions and 19 deletions

View File

@ -1,17 +0,0 @@
# 基本
- order: 0
启用动画。
---
````jsx
var Datepicker = antd.Datepicker;
React.render(
<Datepicker
transitionName="slide-up"
value="" />
, document.getElementById('components-datepicker-demo-transitionname'));
````

View File

@ -43,8 +43,8 @@ export default React.createClass({
return {
format: 'yyyy-MM-dd',
placeholder: '请选择日期',
onSelect: function () {
}
transitionName: 'slide-up',
onSelect: function () {}
};
},
handleChange(v) {