MCPcopy Create free account
hub / github.com/mlco2/codecarbon / DropdownMenuShortcut

Function DropdownMenuShortcut

webapp/src/components/ui/dropdown-menu.tsx:171–184  ·  view source on GitHub ↗
({
    className,
    ...props
}: React.HTMLAttributes<HTMLSpanElement>)

Source from the content-addressed store, hash-verified

169DropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName;
170
171const DropdownMenuShortcut = ({
172 className,
173 ...props
174}: React.HTMLAttributes<HTMLSpanElement>) => {
175 return (
176 <span
177 className={cn(
178 "ml-auto text-xs tracking-widest opacity-60",
179 className,
180 )}
181 {...props}
182 />
183 );
184};
185DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
186
187export {

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…