mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-28 21:19:37 +08:00
docs: correct types (#39297)
This commit is contained in:
parent
1dca4eba98
commit
88d4b014e2
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user