Spaces:
Running
Running
File size: 398 Bytes
db66673 2961a5b db66673 2961a5b db66673 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <script lang="ts">
import { Command as CommandPrimitive } from 'bits-ui';
import { cn } from '$lib/utils.js';
let {
ref = $bindable(null),
class: className,
...restProps
}: CommandPrimitive.ListProps = $props();
</script>
<CommandPrimitive.List
bind:ref
data-slot="command-list"
class={cn('max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto', className)}
{...restProps}
/>
|