Skip to content

Commit 3c59eb9

Browse files
zgayjjftangjinzhou
authored andcommitted
docs: Update checkbox doc (#225)
* Update index.en-US.md * Update index.zh-CN.md
1 parent 7082d6f commit 3c59eb9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/checkbox/index.en-US.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
| -------- | ----------- | ---- | ------- |
2424
| defaultValue | Default selected value | string\[] | \[] |
2525
| disabled | Disable all checkboxes | boolean | false |
26-
| options | Specifies options | string\[] | \[] |
26+
| options | Specifies options | string\[] \| Array<{ label: string value: string disabled?: boolean }> | \[] |
2727
| value | Used for setting the currently selected value. | string\[] | \[] |
2828

2929
#### events

components/checkbox/index.zh-CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
| --- | --- | --- | --- |
2626
| defaultValue | 默认选中的选项 | string\[] | \[] |
2727
| disabled | 整组失效 | boolean | false |
28-
| options | 指定可选项 | string\[] | \[] |
28+
| options | 指定可选项 | string\[] \| Array<{ label: string value: string disabled?: boolean }> | \[] |
2929
| value | 指定选中的选项 | string\[] | \[] |
3030
| onChange | 变化时回调函数 | Function(checkedValue) | - |
3131

0 commit comments

Comments
 (0)