Function
CommandShortcut
({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>)
Source from the content-addressed store, hash-verified
| 119 | CommandItem.displayName = CommandPrimitive.Item.displayName; |
| 120 | |
| 121 | const CommandShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => { |
| 122 | return ( |
| 123 | <span |
| 124 | className={cn('ml-auto text-xs tracking-widest text-muted-foreground', className)} |
| 125 | {...props} |
| 126 | /> |
| 127 | ); |
| 128 | }; |
| 129 | CommandShortcut.displayName = 'CommandShortcut'; |
| 130 | |
| 131 | export { |
Callers
nothing calls this directly
Tested by
no test coverage detected