mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-04 22:27:56 +01:00
feat(Checkbox): new component (#67)
Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user