flbxcup/resources/js/components/ui/dropdown-menu/dropdown-menu-radio-group.svelte
2025-06-23 23:12:40 +02:00

16 lines
335 B
Svelte

<script lang="ts">
import { DropdownMenu as DropdownMenuPrimitive } from "bits-ui";
let {
ref = $bindable(null),
value = $bindable(),
...restProps
}: DropdownMenuPrimitive.RadioGroupProps = $props();
</script>
<DropdownMenuPrimitive.RadioGroup
bind:ref
bind:value
data-slot="dropdown-menu-radio-group"
{...restProps}
/>