TempMonitor/src/lib/components/ui/command/command-list.svelte
2025-05-18 13:18:46 +02:00

12 lines
321 B
Svelte

<script>
import { Command as CommandPrimitive } from "bits-ui";
import { cn } from "$lib/utils.js";
let { ref = $bindable(null), class: className, ...restProps } = $props();
</script>
<CommandPrimitive.List
class={cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className)}
{...restProps}
bind:ref
/>