mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
docs(checkbox): fix default in props (#245)
* Update index.demo-entry.md * Update index.demo-entry.md
This commit is contained in:
parent
4316282619
commit
2e5b988dee
@ -19,7 +19,7 @@ event
|
|||||||
|
|
||||||
| Name | Type | Default | Description |
|
| Name | Type | Default | Description |
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
| checked | `boolean` | `undefined` | Whether it is selected in the controlled mode. |
|
| checked | `boolean` | `false` | Whether it is selected in the controlled mode. |
|
||||||
| indeterminate | `boolean` | `false` | Whether partly selected. |
|
| indeterminate | `boolean` | `false` | Whether partly selected. |
|
||||||
| default-checked | `boolean` | `false` | Whether selected by default in uncontrolled mode. |
|
| default-checked | `boolean` | `false` | Whether selected by default in uncontrolled mode. |
|
||||||
| disabled | `boolean` | `false` | Whether to disable. |
|
| disabled | `boolean` | `false` | Whether to disable. |
|
||||||
|
@ -19,7 +19,7 @@ event
|
|||||||
|
|
||||||
| 名称 | 类型 | 默认值 | 说明 |
|
| 名称 | 类型 | 默认值 | 说明 |
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
| checked | `boolean` | `undefined` | 受控状态下是否选中 |
|
| checked | `boolean` | `false` | 受控状态下是否选中 |
|
||||||
| indeterminate | `boolean` | `false` | 是否部分选中 |
|
| indeterminate | `boolean` | `false` | 是否部分选中 |
|
||||||
| default-checked | `boolean` | `false` | 非受控模式下默认是否选中 |
|
| default-checked | `boolean` | `false` | 非受控模式下默认是否选中 |
|
||||||
| disabled | `boolean` | `false` | 是否禁用 |
|
| disabled | `boolean` | `false` | 是否禁用 |
|
||||||
|
Loading…
Reference in New Issue
Block a user