default motion for datepicker

pull/29/head
afc163 10 years ago
parent 228a1042b6
commit c876a71a54

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

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

Loading…
Cancel
Save