import { CaretRight, Check } from "@phosphor-icons/react"; import * as ContextMenuPrimitive from "@radix-ui/react-context-menu"; import { cn } from "@reactive-resume/utils"; import { forwardRef } from "react"; export const ContextMenu = ContextMenuPrimitive.Root; export const ContextMenuTrigger = ContextMenuPrimitive.Trigger; export const ContextMenuGroup = ContextMenuPrimitive.Group; export const ContextMenuPortal = ContextMenuPrimitive.Portal; export const ContextMenuSub = ContextMenuPrimitive.Sub; export const ContextMenuRadioGroup = ContextMenuPrimitive.RadioGroup; export const ContextMenuSubTrigger = forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { inset?: boolean; } >(({ className, inset, children, ...props }, ref) => ( {children} )); ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName; export const ContextMenuSubContent = forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); ContextMenuSubContent.displayName = ContextMenuPrimitive.SubContent.displayName; export const ContextMenuContent = forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); ContextMenuContent.displayName = ContextMenuPrimitive.Content.displayName; export const ContextMenuItem = forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { inset?: boolean; } >(({ className, inset, ...props }, ref) => ( )); ContextMenuItem.displayName = ContextMenuPrimitive.Item.displayName; export const ContextMenuCheckboxItem = forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, children, checked, ...props }, ref) => ( {children} )); ContextMenuCheckboxItem.displayName = ContextMenuPrimitive.CheckboxItem.displayName; export const ContextMenuRadioItem = forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, children, ...props }, ref) => ( {children} )); ContextMenuRadioItem.displayName = ContextMenuPrimitive.RadioItem.displayName; export const ContextMenuLabel = forwardRef< React.ElementRef, React.ComponentPropsWithoutRef & { inset?: boolean; } >(({ className, inset, ...props }, ref) => ( )); ContextMenuLabel.displayName = ContextMenuPrimitive.Label.displayName; export const ContextMenuSeparator = forwardRef< React.ElementRef, React.ComponentPropsWithoutRef >(({ className, ...props }, ref) => ( )); ContextMenuSeparator.displayName = ContextMenuPrimitive.Separator.displayName;