refactor: move components/elements to elements/ (#22091)

This commit is contained in:
Jason Rasmussen
2025-09-16 14:31:22 -04:00
committed by GitHub
parent 2bf484c91c
commit 7ce1d73c20
105 changed files with 157 additions and 158 deletions
+16
View File
@@ -0,0 +1,16 @@
<script lang="ts">
interface Props {
id: string;
label: string;
name: string;
value: string;
group?: string | undefined;
}
let { id, label, name, value, group = $bindable(undefined) }: Props = $props();
</script>
<div class="flex items-center gap-2">
<input type="radio" {name} {id} {value} class="focus-visible:ring" bind:group />
<label for={id}>{label}</label>
</div>