'use client'; import * as React from 'react'; import * as PopoverPrimitive from 'radix-ui/popover'; import { cn } from '@/lib/utils'; export type PopoverProps = React.ComponentProps; export type PopoverContentProps = React.ComponentProps; /** * Non-modal floating panel anchored to a trigger. * * Unlike Dialog it does not trap focus or block the page, so it suits * secondary controls and inline detail. Use DropdownMenu when the content is a * list of commands. */ function Popover(props: PopoverProps) { return ; } function PopoverTrigger(props: React.ComponentProps) { return ; } function PopoverAnchor(props: React.ComponentProps) { return ; } function PopoverContent({ className, align = 'center', sideOffset = 4, ...props }: PopoverContentProps) { return ( ); } function PopoverHeader({ className, ...props }: React.ComponentProps<'div'>) { return (
); } function PopoverTitle({ className, ...props }: React.ComponentProps<'div'>) { return
; } function PopoverDescription({ className, ...props }: React.ComponentProps<'p'>) { return (

); } export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor, PopoverHeader, PopoverTitle, PopoverDescription, };