Files
personal-website/src/lib/components/ui/command/command-list.svelte
Stan Runge cb5fc9d095
All checks were successful
build / build (push) Successful in 47s
build / deploy (push) Successful in 17s
chore: flatten repo
2026-08-26 03:57:15 +00:00

16 lines
407 B
Svelte

<script lang="ts">
import { Command as CommandPrimitive } from "cmdk-sv";
import { cn } from "$lib/utils.js";
type $$Props = CommandPrimitive.ListProps;
let className: string | undefined | null = undefined;
export { className as class };
</script>
<CommandPrimitive.List
class={cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className)}
{...$$restProps}
>
<slot />
</CommandPrimitive.List>