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

Function MenuGroupLabel

packages/web/components/ui/menu.tsx:159–177  ·  view source on GitHub ↗
({
  className,
  inset,
  ...props
}: MenuPrimitive.GroupLabel.Props & {
  inset?: boolean;
})

Source from the content-addressed store, hash-verified

157}
158
159function MenuGroupLabel({
160 className,
161 inset,
162 ...props
163}: MenuPrimitive.GroupLabel.Props & {
164 inset?: boolean;
165}) {
166 return (
167 <MenuPrimitive.GroupLabel
168 className={cn(
169 "px-2 py-1.5 font-medium text-muted-foreground text-xs data-inset:ps-9 sm:data-inset:ps-8",
170 className,
171 )}
172 data-inset={inset}
173 data-slot="menu-label"
174 {...props}
175 />
176 );
177}
178
179function MenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props) {
180 return (

Callers

nothing calls this directly

Calls 1

cnFunction · 0.90

Tested by

no test coverage detected