MCPcopy Create free account
hub / github.com/arctic-cli/interface / MenuShortcut

Function MenuShortcut

packages/web/components/ui/menu.tsx:189–200  ·  view source on GitHub ↗
({ className, ...props }: React.ComponentProps<"span">)

Source from the content-addressed store, hash-verified

187}
188
189function MenuShortcut({ className, ...props }: React.ComponentProps<"span">) {
190 return (
191 <span
192 className={cn(
193 "ms-auto font-medium text-muted-foreground/72 text-xs tracking-widest",
194 className,
195 )}
196 data-slot="menu-shortcut"
197 {...props}
198 />
199 );
200}
201
202function MenuSub(props: MenuPrimitive.SubmenuRoot.Props) {
203 return <MenuPrimitive.SubmenuRoot data-slot="menu-sub" {...props} />;

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected