1<script lang="ts">
2 import type { HTMLAttributes } from 'svelte/elements';
3 import { cn, type WithElementRef } from '$lib/components/ui/utils.js';
4
5 let {
6 ref = $bindable(null),
7 class: className,
8 children,
9 ...restProps
10 }: WithElementRef<HTMLAttributes<HTMLSpanElement>> = $props();
11</script>
12
13<span
14 bind:this={ref}
15 data-slot="dropdown-menu-shortcut"
16 class={cn('ml-auto text-xs tracking-widest text-muted-foreground', className)}
17 {...restProps}
18>
19 {@render children?.()}
20</span>