feat(Checkbox): new component (#67)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Romain Hamel
2024-03-27 12:00:15 +01:00
committed by GitHub
parent 8fd369372b
commit bfd5988358
34 changed files with 718 additions and 303 deletions

View File

@@ -13,10 +13,10 @@ const checked = ref(false)
<div>
<USwitch v-model:checked="checked" disabled />
</div>
<div class="flex items-center gap-2 ml-[-36px]">
<div class="flex items-center gap-2 ml-[-64px]">
<USwitch v-for="size in sizes" :key="size" v-model:checked="checked" :size="(size as any)" />
</div>
<div class="flex items-center gap-2 ml-[-36px]">
<div class="flex items-center gap-2 ml-[-64px]">
<USwitch
v-for="size in sizes"
:key="size"
@@ -26,7 +26,7 @@ const checked = ref(false)
checked-icon="i-heroicons-check-20-solid"
/>
</div>
<div class="flex items-center gap-2 ml-[-36px]">
<div class="flex items-center gap-2 ml-[-64px]">
<USwitch
v-for="size in sizes"
:key="size"