Files
pocket-id/frontend/src/lib/components/ui/command/command-shortcut.svelte
2025-04-20 18:54:45 +02:00

17 lines
407 B
Svelte

<script lang="ts">
import type { ClassValue, HTMLAttributes } from "svelte/elements";
import { cn } from "$lib/utils/style.js";
type $$Props = HTMLAttributes<HTMLSpanElement>;
let className: ClassValue | undefined | null = undefined;
export { className as class };
</script>
<span
class={cn("text-muted-foreground ml-auto text-xs tracking-widest", className)}
{...$$restProps}
>
<slot />
</span>