Function
ContextMenuSubContent
({
className,
...props
}: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>)
Source from the content-addressed store, hash-verified
| 78 | } |
| 79 | |
| 80 | function ContextMenuSubContent({ |
| 81 | className, |
| 82 | ...props |
| 83 | }: React.ComponentProps<typeof ContextMenuPrimitive.SubContent>) { |
| 84 | return ( |
| 85 | <ContextMenuPrimitive.SubContent |
| 86 | data-slot="context-menu-sub-content" |
| 87 | className={cn( |
| 88 | "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", |
| 89 | className |
| 90 | )} |
| 91 | {...props} |
| 92 | /> |
| 93 | ) |
| 94 | } |
| 95 | |
| 96 | function ContextMenuContent({ |
| 97 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected