MCPcopy Create free account
hub / github.com/R44VC0RP/opencode.cafe / DropdownMenuLabel

Function DropdownMenuLabel

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

Source from the content-addressed store, hash-verified

162}
163
164function DropdownMenuLabel({
165 className,
166 inset,
167 ...props
168}: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
169 inset?: boolean
170}) {
171 return (
172 <DropdownMenuPrimitive.Label
173 data-slot="dropdown-menu-label"
174 data-inset={inset}
175 className={cn(
176 "px-3 py-2 text-sm font-medium text-[var(--color-text-strong)]",
177 inset && "pl-8",
178 className
179 )}
180 {...props}
181 />
182 )
183}
184
185function DropdownMenuSeparator({
186 className,

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected