import React from 'react'; import { Link as LinkPrimitive, LinkProps as LinkPropsPrimitive } from '@modulz/primitives'; export type LinkProps = LinkPropsPrimitive type ExtractRefType = TypesThatMayContainReactRef extends {ref?: React.Ref} ? T : any; type PrimitiveRefType = ExtractRefType export const Link = React.forwardRef((props, ref) => { return ( ); });