diff --git a/components/ui/popover.tsx b/components/ui/popover.tsx new file mode 100644 index 0000000..35f4b18 --- /dev/null +++ b/components/ui/popover.tsx @@ -0,0 +1,52 @@ +"use client" + +import { Popover as PopoverPrimitive } from "@base-ui/react/popover" + +import { cn } from "@/lib/utils" + +function Popover({ ...props }: PopoverPrimitive.Root.Props) { + return +} + +function PopoverTrigger({ ...props }: PopoverPrimitive.Trigger.Props) { + return +} + +function PopoverContent({ + className, + side = "bottom", + sideOffset = 8, + align = "center", + alignOffset = 0, + children, + ...props +}: PopoverPrimitive.Popup.Props & + Pick< + PopoverPrimitive.Positioner.Props, + "align" | "alignOffset" | "side" | "sideOffset" + >) { + return ( + + + + {children} + + + + ) +} + +export { Popover, PopoverTrigger, PopoverContent }