From 97e9b57eb015fc5177a315184865dbfada4d935d Mon Sep 17 00:00:00 2001 From: zernonia Date: Fri, 22 Sep 2023 09:48:30 +0800 Subject: [PATCH] docs: fix className reference --- .../src/content/docs/components/checkbox.md | 2 +- .../src/content/docs/installation/astro.md | 4 +-- .../default/example/Cards/ActivityGoal.vue | 14 ++++----- .../registry/default/example/Cards/index.vue | 30 +++++++++---------- .../default/example/CheckboxDisabled.vue | 19 +++++------- 5 files changed, 32 insertions(+), 37 deletions(-) diff --git a/apps/www/src/content/docs/components/checkbox.md b/apps/www/src/content/docs/components/checkbox.md index 65db264d..4eb6ea46 100644 --- a/apps/www/src/content/docs/components/checkbox.md +++ b/apps/www/src/content/docs/components/checkbox.md @@ -30,6 +30,6 @@ import { Checkbox } from '@/components/ui/checkbox' ## Examples -### With text +### Disabled \ No newline at end of file diff --git a/apps/www/src/content/docs/installation/astro.md b/apps/www/src/content/docs/installation/astro.md index 603236c4..3d78e848 100644 --- a/apps/www/src/content/docs/installation/astro.md +++ b/apps/www/src/content/docs/installation/astro.md @@ -40,7 +40,7 @@ Install React using the Astro CLI: npx astro add react ``` - + Answer `Yes` to all the question prompted by the CLI when installing React. @@ -54,7 +54,7 @@ Install Tailwind CSS using the Astro CLI: npx astro add tailwind ``` - + Answer `Yes` to all the question prompted by the CLI when installing Tailwind CSS. diff --git a/apps/www/src/lib/registry/default/example/Cards/ActivityGoal.vue b/apps/www/src/lib/registry/default/example/Cards/ActivityGoal.vue index fe9674b9..56309617 100644 --- a/apps/www/src/lib/registry/default/example/Cards/ActivityGoal.vue +++ b/apps/www/src/lib/registry/default/example/Cards/ActivityGoal.vue @@ -42,7 +42,7 @@ const data = [ Set your daily activity goal. -
+
-
-
+
+
{{ goal }}
-
+
Calories/day
@@ -69,10 +69,10 @@ const data = [ @click="goal += 10 " > - Increase + Increase
-
+