miru/src/lib/components/ui/command/command-list.svelte
ThaUnknown 86492ed76f
feat: player stats, prev/next
fix: import order
2025-05-22 16:05:41 +02:00

16 lines
395 B
Svelte

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