Function
MenuShortcut
({ className, ...props }: React.ComponentProps<"span">)
Source from the content-addressed store, hash-verified
| 187 | } |
| 188 | |
| 189 | function MenuShortcut({ className, ...props }: React.ComponentProps<"span">) { |
| 190 | return ( |
| 191 | <span |
| 192 | className={cn( |
| 193 | "ms-auto font-medium text-muted-foreground/72 text-xs tracking-widest", |
| 194 | className, |
| 195 | )} |
| 196 | data-slot="menu-shortcut" |
| 197 | {...props} |
| 198 | /> |
| 199 | ); |
| 200 | } |
| 201 | |
| 202 | function MenuSub(props: MenuPrimitive.SubmenuRoot.Props) { |
| 203 | return <MenuPrimitive.SubmenuRoot data-slot="menu-sub" {...props} />; |
Callers
nothing calls this directly
Tested by
no test coverage detected