Files
calorie-tracker/src/lib/components/ui/command/command-shortcut.svelte
2024-01-18 00:45:21 +02:00

16 lines
389 B
Svelte

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