sheet-description.svelte 380 B

1234567891011121314151617
  1. <script lang="ts">
  2. import { Dialog as SheetPrimitive } from "bits-ui";
  3. import { cn } from "$lib/utils.js";
  4. let {
  5. ref = $bindable(null),
  6. class: className,
  7. ...restProps
  8. }: SheetPrimitive.DescriptionProps = $props();
  9. </script>
  10. <SheetPrimitive.Description
  11. bind:ref
  12. data-slot="sheet-description"
  13. class={cn("text-muted-foreground text-sm", className)}
  14. {...restProps}
  15. />