-
{
- value = item.value
- }"
- >
- {{ item.label }}
-
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
diff --git a/packages/ui/src/components/Switch.vue b/packages/ui/src/components/Switch.vue
index 1212a70b..d6032f79 100644
--- a/packages/ui/src/components/Switch.vue
+++ b/packages/ui/src/components/Switch.vue
@@ -19,17 +19,17 @@ const toggleValue = useToggle(value)
:class="[
disabled ? 'cursor-not-allowed' : 'cursor-pointer',
]"
- class="$ui-base $ui-if-sc cursor-pointer select-none gap5px vertical-mid text-14px" role="checkbox" @click="!disabled && toggleValue()"
+ class="$ui-base $ui-if-sc cursor-pointer select-none gap1.25 vertical-mid text-3.5" role="checkbox" @click="!disabled && toggleValue()"
>
import { ref } from 'vue'
import Select from '../src/components/Select.vue'
+import { VueCheckbox } from '../src'
const options = [
{
@@ -22,6 +23,7 @@ const options = [
]
const current = ref(options[0].value)
+const currentMultiple = ref([options[0].value, options[1].value])
const disabled = ref(false)
@@ -40,5 +42,24 @@ const disabled = ref(false)
+
+
+ Value: {{ currentMultiple }}
+
+
+
+ Value: {{ currentMultiple }}
+
+
+
+