feat: TimePicker.RangePicker support order (#21948)

This commit is contained in:
二货机器人 2020-03-06 20:19:24 +08:00 committed by GitHub
parent 28f31677e2
commit 4e8170b93c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -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",