docs(checkbox/slider/switch): hide defaultValue select in code examples

This commit is contained in:
Benjamin Canac
2024-09-03 12:09:47 +02:00
parent be383e415d
commit 9c1171f61d
3 changed files with 6 additions and 2 deletions

View File

@@ -28,6 +28,8 @@ Use the `default-value` prop to set the initial value when you do not need to co
::component-code
---
ignore:
- defaultValue
props:
defaultValue: true
---

View File

@@ -15,8 +15,6 @@ Use the `v-model` directive to control the value of the Slider.
::component-code
---
ignore:
- modelValue
external:
- modelValue
props:
@@ -28,6 +26,8 @@ Use the `default-value` prop to set the initial value when you do not need to co
::component-code
---
ignore:
- defaultValue
props:
defaultValue: 50
---

View File

@@ -28,6 +28,8 @@ Use the `default-value` prop to set the initial value when you do not need to co
::component-code
---
ignore:
- defaultValue
props:
defaultValue: true
---