Spaces:
Running
Running
| <script lang="ts"> | |
| import { cn, type WithElementRef } from '$lib/utils.js'; | |
| import type { HTMLAttributes } from 'svelte/elements'; | |
| let { | |
| ref = $bindable(null), | |
| class: className, | |
| children, | |
| ...restProps | |
| } | |
| </script> | |
| <span | |
| bind:this={ref} | |
| data-slot="command-shortcut" | |
| class={cn('ms-auto text-xs tracking-widest text-muted-foreground', className)} | |
| {...restProps} | |
| > | |
| {@render children?.()} | |
| </span> | |