mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
default motion for datepicker
This commit is contained in:
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…
Reference in New Issue
Block a user