import * as React from 'react' import * as PopoverPrimitive from '@radix-ui/react-popover' import { cn } from '@/lib/utils' const Popover = PopoverPrimitive.Root const PopoverTrigger = PopoverPrimitive.Trigger // Define the props type to include positioning props type PopoverContentProps = React.ComponentPropsWithoutRef & { collisionPadding?: number | Partial>; sticky?: 'partial' | 'always'; avoidCollisions?: boolean; }; const PopoverContent = React.forwardRef< React.ComponentRef, PopoverContentProps >(({ className, align = 'center', sideOffset = 4, collisionPadding, sticky, avoidCollisions = false, ...props }, ref) => ( )) PopoverContent.displayName = PopoverPrimitive.Content.displayName export { Popover, PopoverTrigger, PopoverContent }