feat: update docs
This commit is contained in:
@@ -19,6 +19,7 @@ Available size variant for the `ui` prop: `s`/`m`.
|
||||
| `value` | `Array` | `[]` | [^value] |
|
||||
| `disabled` | `boolean=` | `false` | Whether the checkbox group is disabled. |
|
||||
| `readonly` | `boolean=` | `false` | Whether the checkbox group is read-only. |
|
||||
| `empty-value` | `*` | - | The value to be selected when all selected values are deselected. Used when `exclusive` items are present. |
|
||||
|
||||
^^^ui
|
||||
Style variants.
|
||||
@@ -31,7 +32,7 @@ Style variants.
|
||||
^^^
|
||||
|
||||
^^^items
|
||||
The datasource of items with the item type being `{label, value, disabled, ...}`.
|
||||
The datasource of items with the item type being `{label, value, disabled, exclusive ...}`.
|
||||
|
||||
+++Properties
|
||||
| Name | Type | Description |
|
||||
@@ -39,6 +40,7 @@ The datasource of items with the item type being `{label, value, disabled, ...}`
|
||||
| `label` | `string` | The descriptive label of the item. |
|
||||
| `value` | `*` | The value of the item. |
|
||||
| `disabled` | `boolean=` | Whether the item is disabled. |
|
||||
| `exclusive` | `boolean=` | Whether the item is exclusive. |
|
||||
+++
|
||||
^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user