flbxcup/resources/js/components/ui/drawer/drawer-description.svelte
2025-06-23 23:12:40 +02:00

17 lines
389 B
Svelte

<script lang="ts">
import { Drawer as DrawerPrimitive } from "vaul-svelte";
import { cn } from "@/lib/utils.js";
let {
ref = $bindable(null),
class: className,
...restProps
}: DrawerPrimitive.DescriptionProps = $props();
</script>
<DrawerPrimitive.Description
bind:ref
data-slot="drawer-description"
class={cn("text-muted-foreground text-sm", className)}
{...restProps}
/>