Function
DropdownMenuSubContent
({
align = "start",
alignOffset = -3,
side = "right",
sideOffset = 0,
className,
...props
}: React.ComponentProps<typeof DropdownMenuContent>)
Source from the content-addressed store, hash-verified
| 133 | } |
| 134 | |
| 135 | function DropdownMenuSubContent({ |
| 136 | align = "start", |
| 137 | alignOffset = -3, |
| 138 | side = "right", |
| 139 | sideOffset = 0, |
| 140 | className, |
| 141 | ...props |
| 142 | }: React.ComponentProps<typeof DropdownMenuContent>) { |
| 143 | return ( |
| 144 | <DropdownMenuContent |
| 145 | data-slot="dropdown-menu-sub-content" |
| 146 | className={cn( |
| 147 | "data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-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 ring-foreground/10 bg-popover text-popover-foreground min-w-[96px] rounded-none shadow-lg ring-1 duration-100 w-auto", |
| 148 | className |
| 149 | )} |
| 150 | align={align} |
| 151 | alignOffset={alignOffset} |
| 152 | side={side} |
| 153 | sideOffset={sideOffset} |
| 154 | {...props} |
| 155 | /> |
| 156 | ); |
| 157 | } |
| 158 | |
| 159 | function DropdownMenuCheckboxItem({ |
| 160 | className, |
Callers
nothing calls this directly
Tested by
no test coverage detected