'use client'; import * as React from 'react'; export const TooltipPortalContext = React.createContext(undefined); export function useTooltipPortalContext() { const context = React.useContext(TooltipPortalContext); if (context === undefined) { throw new Error( 'Zest: TooltipPortalContext is missing. must be placed within .', ); } return context; }