docs(components): [date-time-picker] perfect type (#9528)

This commit is contained in:
LIUCHAO 2022-08-31 11:58:47 +08:00 committed by GitHub
parent a8a556d0ea
commit f21f1e2ee1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,8 +84,8 @@ datetime-picker/default-time
| prefix-icon | Custom prefix icon component | `string \| Component` | — | Date |
| clear-icon | Custom clear icon component | `string \| Component` | — | CircleClose |
| shortcuts | an object array to set shortcut options | object[{ text: string, value: date / function }] | — | — |
| disabledDate | a function determining if a date is disabled with that date as its parameter. Should return a Boolean | function | — | — |
| cellClassName | set custom className | Function(Date) | — | — |
| disabled-date | a function determining if a date is disabled with that date as its parameter. Should return a Boolean | function(Date) | — | — |
| cell-class-name | set custom className | Function(Date) | — | — |
| teleported | whether datetime-picker dropdown is teleported to the body | boolean | true / false | true |
## Events