feat: better components
This commit is contained in:
7
client/src/lib/ui/sheet/sheet-close.svelte
Normal file
7
client/src/lib/ui/sheet/sheet-close.svelte
Normal file
@ -0,0 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { Dialog as SheetPrimitive } from "bits-ui";
|
||||
|
||||
let { ref = $bindable(null), ...restProps }: SheetPrimitive.CloseProps = $props();
|
||||
</script>
|
||||
|
||||
<SheetPrimitive.Close bind:ref data-slot="sheet-close" {...restProps} />
|
Reference in New Issue
Block a user