import React from 'react'; import { Tooltip as TooltipPrimitive, TooltipProps as TooltipPropsPrimitive } from '@modulz/primitives'; export type TooltipProps = TooltipPropsPrimitive type ExtractRefType = TypesThatMayContainReactRef extends {ref?: React.Ref} ? T : unknown; type PrimitiveRefType = ExtractRefType export const Tooltip = React.forwardRef((props, ref) => { return ( ); });