Files
gpx.studio/website/src/lib/components/ui/menubar/menubar-shortcut.svelte

17 lines
376 B
Svelte
Raw Normal View History

2024-04-08 17:12:39 +02:00
<script lang="ts">
import type { HTMLAttributes } from "svelte/elements";
import { cn } from "$lib/utils.js";
type $$Props = HTMLAttributes<HTMLSpanElement>;
let className: $$Props["class"] = undefined;
export { className as class };
</script>
<span
class={cn("ml-auto text-xs tracking-widest text-muted-foreground", className)}
{...$$restProps}
>
<slot />
</span>