12 lines
350 B
Svelte
12 lines
350 B
Svelte
<script lang="ts">
|
|
import { Drawer as DrawerPrimitive } from "vaul-svelte";
|
|
|
|
let {
|
|
shouldScaleBackground = true,
|
|
open = $bindable(false),
|
|
activeSnapPoint = $bindable(null),
|
|
...restProps
|
|
}: DrawerPrimitive.RootProps = $props();
|
|
</script>
|
|
|
|
<DrawerPrimitive.NestedRoot {shouldScaleBackground} bind:open bind:activeSnapPoint {...restProps} />
|