TempMonitor/src/lib/components/ui/context-menu/context-menu-shortcut.svelte

14 lines
302 B
Svelte
Raw Normal View History

2025-05-18 13:18:46 +02:00
<script>
import { cn } from "$lib/utils.js";
let { ref = $bindable(null), class: className, children, ...restProps } = $props();
</script>
<span
bind:this={ref}
class={cn("ml-auto text-xs tracking-widest text-muted-foreground", className)}
{...restProps}
>
{@render children?.()}
</span>