Files
frontend-svelte/src/shared/shadcn/ui/drawer/drawer-nested.svelte
2026-02-07 18:00:38 +03:00

13 lines
355 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} />