mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
feat: TimePicker.RangePicker support order
(#21948)
This commit is contained in:
parent
28f31677e2
commit
4e8170b93c
@ -59,6 +59,14 @@ import moment from 'moment';
|
||||
| blur() | remove focus | |
|
||||
| focus() | get focus | |
|
||||
|
||||
### RangePicker
|
||||
|
||||
Same props from [RangePicker](/components/date-picker/#RangePicker) of DatePicker. And includes additional props:
|
||||
|
||||
| Property | Description | Type | Default | Version |
|
||||
| -------- | ------------------------ | ------- | ------- | ------- |
|
||||
| order | Order start and end time | boolean | true | 4.1.0 |
|
||||
|
||||
<style>.code-box-demo .ant-picker { margin: 0 8px 12px 0; }</style>
|
||||
|
||||
## FAQ
|
||||
|
@ -60,6 +60,14 @@ import moment from 'moment';
|
||||
| blur() | 移除焦点 | |
|
||||
| focus() | 获取焦点 | |
|
||||
|
||||
### RangePicker
|
||||
|
||||
属性与 DatePicker 的 [RangePicker](/components/date-picker/#RangePicker) 相同。还包含以下属性:
|
||||
|
||||
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
||||
| ----- | -------------------- | ------- | ------ | ----- |
|
||||
| order | 始末时间是否自动排序 | boolean | true | 4.1.0 |
|
||||
|
||||
<style>.code-box-demo .ant-picker { margin: 0 8px 12px 0; }</style>
|
||||
|
||||
## FAQ
|
||||
|
@ -115,7 +115,7 @@
|
||||
"rc-menu": "~8.0.1",
|
||||
"rc-notification": "~4.0.0",
|
||||
"rc-pagination": "~2.0.1",
|
||||
"rc-picker": "~1.1.0",
|
||||
"rc-picker": "~1.2.0",
|
||||
"rc-progress": "~2.5.0",
|
||||
"rc-rate": "~2.5.1",
|
||||
"rc-resize-observer": "^0.1.0",
|
||||
|
Loading…
Reference in New Issue
Block a user