mirror of
https://github.com/BradNut/boredgame
synced 2025-09-08 17:40:22 +00:00
16 lines
404 B
Svelte
16 lines
404 B
Svelte
<script lang="ts">
|
|
import type { RadioGroupRootProps } from 'radix-svelte';
|
|
import { cn } from '$lib/utils';
|
|
|
|
let className: string | undefined | null = undefined;
|
|
export { className as class };
|
|
export let value: RadioGroupRootProps["value"] = undefined;
|
|
</script>
|
|
|
|
<RadioGroupPrimitive.Root
|
|
bind:value
|
|
class={cn("grid gap-2", className)}
|
|
{...$$restProps}
|
|
>
|
|
<slot />
|
|
</RadioGroupPrimitive.Root>
|