[Improvement] DatetimePicker: support all picker props (#788)

This commit is contained in:
neverland
2018-03-27 17:34:07 +08:00
committed by GitHub
parent 5497eef5ef
commit 99361427f9
5 changed files with 30 additions and 15 deletions

View File

@@ -132,11 +132,11 @@ When Picker columns data is acquired asynchronously, use `loading` prop to show
| show-toolbar | Whether to show toolbar | `Boolean` | `false` | - |
| title | Toolbar title | `String` | `''` | - |
| loading | Whether to show loading prompt | `Boolean` | `false` | - |
| value-key | Key of option text | `String` | `text` | - |
| item-height | Option height | `Number` | `44` | - |
| confirm-button-text | Text of confirm button | `String` | `Confirm` | - |
| cancel-button-text | Text of cancel button | `String` | `Cancel` | - |
| item-height | Option height | `Number` | `44` | - |
| visible-item-count | Count of visible columns | `Number` | `5` | - |
| value-key | Key of option text | `String` | `text` | - |
### Event
Picker events will pass different parameters according to the columns are single or multiple