mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-04-25 21:05:54 +00:00
update components
This commit is contained in:
11
website/src/lib/components/ui/select/select.svelte
Normal file
11
website/src/lib/components/ui/select/select.svelte
Normal file
@@ -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} />
|
||||
Reference in New Issue
Block a user