mirror of
https://github.com/immich-app/immich.git
synced 2025-12-20 17:25:35 +03:00
17 lines
407 B
Svelte
17 lines
407 B
Svelte
<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 space-x-2">
|
|
<input type="radio" {name} {id} {value} class="focus-visible:ring" bind:group />
|
|
<label for={id}>{label}</label>
|
|
</div>
|