사소한 리팩토링

This commit is contained in:
static
2025-01-23 13:21:34 +09:00
parent ca67f5a81c
commit fd10f13a4d
7 changed files with 10 additions and 24 deletions

View File

@@ -12,7 +12,7 @@
let { children, checked = $bindable(false) }: Props = $props();
</script>
<label class="flex items-center justify-center gap-x-1">
<label class="flex items-center gap-x-1">
<input bind:checked type="checkbox" class="hidden" />
{@render children?.()}
{#if checked}