Function
NavigationMenuIndicator
({
className,
...props
}: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>)
Source from the content-addressed store, hash-verified
| 138 | } |
| 139 | |
| 140 | function NavigationMenuIndicator({ |
| 141 | className, |
| 142 | ...props |
| 143 | }: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>) { |
| 144 | return ( |
| 145 | <NavigationMenuPrimitive.Indicator |
| 146 | data-slot="navigation-menu-indicator" |
| 147 | className={cn( |
| 148 | "data-[state=visible]:animate-in data-[state=hidden]:animate-out data-[state=hidden]:fade-out data-[state=visible]:fade-in top-full z-[1] flex h-1.5 items-end justify-center overflow-hidden", |
| 149 | className |
| 150 | )} |
| 151 | {...props} |
| 152 | > |
| 153 | <div className="bg-border relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm shadow-md" /> |
| 154 | </NavigationMenuPrimitive.Indicator> |
| 155 | ) |
| 156 | } |
| 157 | |
| 158 | export { |
| 159 | NavigationMenu, |
Callers
nothing calls this directly
Tested by
no test coverage detected