docs: correct types (#39297)

This commit is contained in:
kalykun 2022-12-06 17:19:27 +08:00 committed by GitHub
parent 1dca4eba98
commit 88d4b014e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ Checkbox component.
| defaultChecked | Specifies the initial state: whether or not the checkbox is selected | boolean | false | |
| disabled | If disable checkbox | boolean | false | |
| indeterminate | The indeterminate checked state of checkbox | boolean | false | |
| onChange | The callback function that is triggered when the state changes | function(e:Event) | - | |
| onChange | The callback function that is triggered when the state changes | function(e: CheckboxChangeEvent) | - | |
#### Checkbox Group

View File

@ -39,7 +39,7 @@ demo:
| defaultChecked | 初始是否选中 | boolean | false | |
| disabled | 失效状态 | boolean | false | |
| indeterminate | 设置 indeterminate 状态,只负责样式控制 | boolean | false | |
| onChange | 变化时的回调函数 | function(e:Event) | - | |
| onChange | 变化时的回调函数 | function(e: CheckboxChangeEvent) | - | |
#### Checkbox Group