mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 17:00:36 +01:00
docs(radio-group): update
This commit is contained in:
@@ -17,11 +17,8 @@ Use the `v-model` directive to control the checked state of the Switch.
|
||||
---
|
||||
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
|
||||
---
|
||||
::
|
||||
|
||||
@@ -48,6 +42,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 Switch.
|
||||
@@ -135,20 +141,6 @@ props:
|
||||
---
|
||||
::
|
||||
|
||||
### Required
|
||||
|
||||
Use the `required` prop to make the Switch 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 Switch.
|
||||
|
||||
Reference in New Issue
Block a user