import { Popover as PopoverPrimitive } from "@kobalte/core/popover"; import type { ComponentProps, ValidComponent } from "solid-js"; import { splitProps } from "solid-js"; import { cn } from "@/lib/cn"; export const Popover = PopoverPrimitive; export const PopoverTrigger = PopoverPrimitive.Trigger; export const PopoverAnchor = PopoverPrimitive.Anchor; export function PopoverContent( props: ComponentProps>, ) { const [local, rest] = splitProps(props as ComponentProps, [ "class", ]); return ( ); }