1 2 3 4 5 6 7 8 9 10 11
<script lang="ts"> import { Select as SelectPrimitive } from "bits-ui"; let { open = $bindable(false), value = $bindable(), ...restProps }: SelectPrimitive.RootProps = $props(); </script> <SelectPrimitive.Root bind:open bind:value={value as never} {...restProps} />