aboutsummaryrefslogtreecommitdiffstats
path: root/code/frontend/src/components/ui/dropdown-menu/dropdown-menu-shortcut.svelte
blob: f9e5953b65ccf59d236e0398c3d876b8f51e4972 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
<script lang="ts">
	import type { HTMLAttributes } from 'svelte/elements'
	import { cn } from '$utils/ui'

	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>