import React from 'react'; import { Link as LinkPrimitive, LinkProps as LinkPropsPrimitive } from '@modulz/primitives'; export type LinkProps = LinkPropsPrimitive & { variant?: 'ghost' | 'twitter' | 'blue' | 'gray'; color?: 'pink' | 'black'; } type ExtractRefType = TypesThatMayContainReactRef extends {ref?: React.Ref} ? T : unknown; type PrimitiveRefType = ExtractRefType export const Link = React.forwardRef((props, ref) => { return ( ); });