MCPcopy Create free account
hub / github.com/evolify/dumpfun / DropdownMenuLabel

Function DropdownMenuLabel

common/components/ui/dropdown-menu.tsx:144–162  ·  view source on GitHub ↗
({
  className,
  inset,
  ...props
}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
  inset?: boolean
})

Source from the content-addressed store, hash-verified

142}
143
144function DropdownMenuLabel({
145 className,
146 inset,
147 ...props
148}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
149 inset?: boolean
150}) {
151 return (
152 <DropdownMenuPrimitive.Label
153 data-slot="dropdown-menu-label"
154 data-inset={inset}
155 className={cn(
156 "px-2 py-1.5 text-sm font-medium data-[inset]:pl-8",
157 className
158 )}
159 {...props}
160 />
161 )
162}
163
164function DropdownMenuSeparator({
165 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected