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