docs(radio-group): update

This commit is contained in:
Benjamin Canac
2024-07-31 14:16:23 +02:00
parent b9e3fcb0f1
commit c3ee509c65
9 changed files with 207 additions and 53 deletions

View File

@@ -17,11 +17,8 @@ Use the `v-model` directive to control the checked state of the Checkbox.
---
external:
- modelValue
ignore:
- label
props:
modelValue: true
label: Check me
---
::
@@ -29,11 +26,8 @@ Use the `default-value` prop to set the initial value when you do not need to co
::component-code
---
ignore:
- label
props:
defaultValue: true
label: Check me
---
::
@@ -45,12 +39,9 @@ Use the `indeterminate-icon` prop to customize this icon. Defaults to `i-heroico
::component-code
---
ignore:
- label
props:
indeterminate: true
indeterminateIcon: ''
label: Check me
---
::
@@ -69,6 +60,18 @@ props:
---
::
When using the `required` prop, an asterisk will be added next to the label.
::component-code
---
ignore:
- label
props:
required: true
label: Check me
---
::
### Description
Use the `description` prop to set the description of the Checkbox.
@@ -135,20 +138,6 @@ props:
---
::
### Required
Use the `required` prop to make the Checkbox required. This will add an asterisk to the label.
::component-code
---
ignore:
- label
props:
required: true
label: Check me
---
::
### Disabled
Use the `disabled` prop to disable the Checkbox.