Function
CommandShortcut
({
className,
...props
}: React.HTMLAttributes<HTMLSpanElement>)
Source from the content-addressed store, hash-verified
| 124 | CommandItem.displayName = CommandPrimitive.Item.displayName; |
| 125 | |
| 126 | const CommandShortcut = ({ |
| 127 | className, |
| 128 | ...props |
| 129 | }: React.HTMLAttributes<HTMLSpanElement>) => { |
| 130 | return ( |
| 131 | <span |
| 132 | className={cn( |
| 133 | "ml-auto text-xs tracking-widest text-muted-foreground", |
| 134 | className, |
| 135 | )} |
| 136 | {...props} |
| 137 | /> |
| 138 | ); |
| 139 | }; |
| 140 | CommandShortcut.displayName = "CommandShortcut"; |
| 141 | |
| 142 | export { |
Callers
nothing calls this directly
Tested by
no test coverage detected