import React, { FC } from 'react'; import { TextProps } from 'types'; import * as S from './styles'; export const Text: FC = ({ block, children, italic, size, testId, underlined, weight, }) => { return ( // @ts-ignore TODO -> need to figure out how to pass size to as "legally" {children} ); }; Text.defaultProps = { size: 'span', testId: 'text', underlined: false }; export default Text;