"use client" import * as React from "react" import { Popover as PopoverPrimitive } from "@base-ui/react/popover" import { cn } from "@/lib/utils" export type PopoverRootProps = PopoverPrimitive.Root.Props export type PopoverTriggerProps = PopoverPrimitive.Trigger.Props export type PopoverContentProps = PopoverPrimitive.Popup.Props & Pick< PopoverPrimitive.Positioner.Props, "align" | "alignOffset" | "collisionBoundary" | "collisionPadding" | "side" | "sideOffset" > export type PopoverHeaderProps = React.ComponentProps<"div"> export type PopoverTitleProps = PopoverPrimitive.Title.Props export type PopoverDescriptionProps = PopoverPrimitive.Description.Props function Popover({ ...props }: PopoverPrimitive.Root.Props) { return } function PopoverTrigger({ ...props }: PopoverTriggerProps) { return } function PopoverContent({ className, align = "center", alignOffset = 0, collisionPadding = 12, side = "bottom", sideOffset = 4, ...props }: PopoverContentProps) { return ( ) } function PopoverHeader({ className, ...props }: PopoverHeaderProps) { return (
) } function PopoverTitle({ className, ...props }: PopoverTitleProps) { return ( ) } function PopoverDescription({ className, ...props }: PopoverDescriptionProps) { return ( ) } export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, }