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