Files
salam e687b4437b
linter / quality (push) Canceled after 0s
tests / ci (8.3) (push) Canceled after 0s
tests / ci (8.4) (push) Canceled after 0s
tests / ci (8.5) (push) Canceled after 0s
first commit
2026-10-06 18:53:03 +02:00

19 lines
445 B
Svelte

<script lang="ts">
import { Select as SelectPrimitive } from 'bits-ui';
type SelectProps = Omit<SelectPrimitive.RootProps, 'type' | 'value'> & {
type?: 'single';
value?: string;
onValueChange?: (value: string) => void;
};
let {
open = $bindable(false),
value = $bindable(''),
type = 'single',
...restProps
}: SelectProps = $props();
</script>
<SelectPrimitive.Root {type} bind:open bind:value={value as never} {...restProps} />