import React from 'react'; import { Text as TextPrimitive, TextProps as TextPropsPrimitive } from '@modulz/primitives'; export type TextProps = TextPropsPrimitive & { size?: '1' | 1 | '2' | 2 | '3' | 3 | '4' | 4; } type ExtractRefType = TypesThatMayContainReactRef extends {ref?: React.Ref} ? T : unknown; type PrimitiveRefType = ExtractRefType export const Text = React.forwardRef((props, ref) => { return ( ); });