Skip to content

Modern Docker Management, Designed for Everyone

551 B
Raw Blame
<script lang="ts">
	import { Command as CommandPrimitive } from 'bits-ui';

	import { cn } from '#lib/utils.js';

	let { ref = $bindable(null), value = $bindable(''), class: className, ...restProps }: CommandPrimitive.RootProps = $props();
</script>

<CommandPrimitive.Root
	bind:value
	bind:ref
	data-slot="command"
	class={cn(
		'flex h-full w-full flex-col overflow-hidden rounded-md bg-popover text-popover-foreground [[data-slot=popover-content]_&]:rounded-none [[data-slot=popover-content]_&]:bg-transparent',
		className
	)}
	{...restProps}
/>