MCPcopy Create free account
hub / github.com/TheOrcDev/github-creature / DropdownMenuShortcut

Function DropdownMenuShortcut

components/ui/dropdown-menu.tsx:237–251  ·  view source on GitHub ↗
({
  className,
  ...props
}: React.ComponentProps<"span">)

Source from the content-addressed store, hash-verified

235}
236
237function DropdownMenuShortcut({
238 className,
239 ...props
240}: React.ComponentProps<"span">) {
241 return (
242 <span
243 data-slot="dropdown-menu-shortcut"
244 className={cn(
245 "text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ml-auto text-xs tracking-widest",
246 className
247 )}
248 {...props}
249 />
250 );
251}
252
253export {
254 DropdownMenu,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected