Files
pocket-id/frontend/src/lib/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte
Elias Schneider eaff977b22 initial commit
2024-08-12 11:24:22 +02:00

14 lines
368 B
Svelte

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