"use client"; import * as React from "react"; import { CheckIcon, ChevronRightIcon, DotFilledIcon, } from "@radix-ui/react-icons"; import * as MenubarPrimitive from "@radix-ui/react-menubar"; import { cn } from "@/lib/utils"; const MenubarMenu = MenubarPrimitive.Menu; const MenubarGroup = MenubarPrimitive.Group; const MenubarPortal = MenubarPrimitive.Portal; const MenubarSub = MenubarPrimitive.Sub; const MenubarRadioGroup = MenubarPrimitive.RadioGroup; const Menubar = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); Menubar.displayName = MenubarPrimitive.Root.displayName; const MenubarTrigger = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName; const MenubarSubTrigger = ({ ref, className, inset, children, ...props }) => ( {children} ); MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName; const MenubarSubContent = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName; const MenubarContent = ({ ref, className, align = "start", alignOffset = -4, sideOffset = 8, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); MenubarContent.displayName = MenubarPrimitive.Content.displayName; const MenubarItem = ({ ref, className, inset, ...props }) => ( ); MenubarItem.displayName = MenubarPrimitive.Item.displayName; const MenubarCheckboxItem = ({ ref, className, children, checked, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( {children} ); MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName; const MenubarRadioItem = ({ ref, className, children, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( {children} ); MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName; const MenubarLabel = ({ ref, className, inset, ...props }) => ( ); MenubarLabel.displayName = MenubarPrimitive.Label.displayName; const MenubarSeparator = ({ ref, className, ...props }: React.ComponentPropsWithoutRef & { ref: React.RefObject>; }) => ( ); MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName; const MenubarShortcut = ({ className, ...props }: React.HTMLAttributes) => { return ( ); }; MenubarShortcut.displayname = "MenubarShortcut"; export { Menubar, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarLabel, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarPortal, MenubarSubContent, MenubarSubTrigger, MenubarGroup, MenubarSub, MenubarShortcut, };