diff options
Diffstat (limited to 'frontend/src/lib/components/ui/select/select.svelte')
| -rw-r--r-- | frontend/src/lib/components/ui/select/select.svelte | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/frontend/src/lib/components/ui/select/select.svelte b/frontend/src/lib/components/ui/select/select.svelte new file mode 100644 index 0000000..05eb663 --- /dev/null +++ b/frontend/src/lib/components/ui/select/select.svelte @@ -0,0 +1,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} /> |
