Function
CommandShortcut
({
className,
...props
}: React.HTMLAttributes<HTMLSpanElement>)
Source from the content-addressed store, hash-verified
| 134 | CommandItem.displayName = CommandPrimitive.Item.displayName |
| 135 | |
| 136 | const CommandShortcut = ({ |
| 137 | className, |
| 138 | ...props |
| 139 | }: React.HTMLAttributes<HTMLSpanElement>) => { |
| 140 | return ( |
| 141 | <span |
| 142 | className={cn( |
| 143 | "ml-auto text-xs tracking-widest text-muted-foreground", |
| 144 | className |
| 145 | )} |
| 146 | {...props} |
| 147 | /> |
| 148 | ) |
| 149 | } |
| 150 | CommandShortcut.displayName = "CommandShortcut" |
| 151 | |
| 152 | export { |
Callers
nothing calls this directly
Tested by
no test coverage detected