Function
ContextMenuShortcut
({
className,
...props
}: React.HTMLAttributes<HTMLSpanElement>)
Source from the content-addressed store, hash-verified
| 166 | ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName |
| 167 | |
| 168 | const ContextMenuShortcut = ({ |
| 169 | className, |
| 170 | ...props |
| 171 | }: React.HTMLAttributes<HTMLSpanElement>) => { |
| 172 | return ( |
| 173 | <span |
| 174 | className={cn( |
| 175 | "ml-auto text-xs tracking-widest text-muted-foreground", |
| 176 | className |
| 177 | )} |
| 178 | {...props} |
| 179 | /> |
| 180 | ) |
| 181 | } |
| 182 | ContextMenuShortcut.displayName = "ContextMenuShortcut" |
| 183 | |
| 184 | export { |
Callers
nothing calls this directly
Tested by
no test coverage detected