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

Function DropdownMenuLabel

components/ui/dropdown-menu.tsx:60–78  ·  view source on GitHub ↗
({
  className,
  inset,
  ...props
}: MenuPrimitive.GroupLabel.Props & {
  inset?: boolean;
})

Source from the content-addressed store, hash-verified

58}
59
60function DropdownMenuLabel({
61 className,
62 inset,
63 ...props
64}: MenuPrimitive.GroupLabel.Props & {
65 inset?: boolean;
66}) {
67 return (
68 <MenuPrimitive.GroupLabel
69 data-slot="dropdown-menu-label"
70 data-inset={inset}
71 className={cn(
72 "text-muted-foreground px-2 py-2 text-xs data-[inset]:pl-8",
73 className
74 )}
75 {...props}
76 />
77 );
78}
79
80function DropdownMenuItem({
81 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected