/** * `TooltipPortalContext` — Solid 2 port of * `packages/react/src/tooltip/portal/TooltipPortalContext.ts`. `null` is * the "no portal" sentinel so Solid 2's `ContextNotFoundError` doesn't * fire at the `useContext` site. */ import { type Accessor, createContext } from "solid-js"; export const TooltipPortalContext = createContext | null>( null, );