From 9c1171f61d7f901d92bbb4b068867651459f3ff3 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Tue, 3 Sep 2024 12:09:47 +0200 Subject: [PATCH] docs(checkbox/slider/switch): hide `defaultValue` select in code examples --- docs/content/3.components/checkbox.md | 2 ++ docs/content/3.components/slider.md | 4 ++-- docs/content/3.components/switch.md | 2 ++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/content/3.components/checkbox.md b/docs/content/3.components/checkbox.md index 6be1a869..18cdeaca 100644 --- a/docs/content/3.components/checkbox.md +++ b/docs/content/3.components/checkbox.md @@ -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 --- diff --git a/docs/content/3.components/slider.md b/docs/content/3.components/slider.md index eae84a79..8e2bff5f 100644 --- a/docs/content/3.components/slider.md +++ b/docs/content/3.components/slider.md @@ -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 --- diff --git a/docs/content/3.components/switch.md b/docs/content/3.components/switch.md index d019c3a5..73e44b63 100644 --- a/docs/content/3.components/switch.md +++ b/docs/content/3.components/switch.md @@ -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 ---