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