diff --git a/navigation-menu.tsx b/navigation-menu.tsx index 186c6de..8e6a44d 100644 --- a/navigation-menu.tsx +++ b/navigation-menu.tsx @@ -6,15 +6,17 @@ import { cn } from "./cn"; const NavigationMenu = forwardRef< ElementRef, - ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( + ComponentPropsWithoutRef & { + viewPortClassName?: string; + } +>(({ className, children, viewPortClassName, ...props }, ref) => ( {children} - + )); @@ -71,7 +73,7 @@ const NavigationMenuViewport = forwardRef<