mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
docs(checkbox): delete the VNodeChild attribute of label (#591)
* docs(checkbox): delete the VNodeChil attribute of label * Update src/checkbox/demos/zhCN/index.demo-entry.md * Update src/checkbox/demos/zhCN/index.demo-entry.md Co-authored-by: gang.yang <gang.yang@tusimple.ai> Co-authored-by: Yugang Cao <34439652+Talljack@users.noreply.github.com>
This commit is contained in:
parent
73d0fd20ab
commit
8edc84e8b4
@ -24,7 +24,7 @@ event
|
||||
| disabled | `boolean` | `false` | Whether to disable. |
|
||||
| focusable | `boolean` | `true` | Whether to focus on selection. |
|
||||
| indeterminate | `boolean` | `false` | Whether partly selected. |
|
||||
| label | `string \| (() => VNodeChild)` | `undefined` | Checkbox label. |
|
||||
| label | `string` | `undefined` | Checkbox label. |
|
||||
| value | `string \| number` | `undefined` | The value of the checkbox to be used in checkbox group. |
|
||||
| on-update:checked | `(checked: boolean) => void` | `undefined` | Callback function triggered on checked status changes. |
|
||||
|
||||
|
@ -24,7 +24,7 @@ event
|
||||
| disabled | `boolean` | `false` | 是否禁用 |
|
||||
| focusable | `boolean` | `true` | 是否可被 focus |
|
||||
| indeterminate | `boolean` | `false` | 是否部分选中 |
|
||||
| label | `string \| (() => VNodeChild)` | `undefined` | Checkbox 的标签 |
|
||||
| label | `string` | `undefined` | Checkbox 的标签 |
|
||||
| value | `string \| number` | `undefined` | Checkbox 在 checkbox group 中使用的值 |
|
||||
| on-update:checked | `(checked: boolean) => void` | `undefined` | 当 checked 改变时触发的回调函数 |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user