import { type ComponentProps, Show } from "solid-js"; import { Portal } from "solid-js/web"; import { usePopoverContext } from "./popover-context"; export interface PopoverPortalProps extends ComponentProps {} /** * Portals its children into the `body` when the popover is open. */ export function PopoverPortal(props: PopoverPortalProps) { const context = usePopoverContext(); return ( ); }