import React from "react"
import { TextProps } from "./interfaces"
import * as S from "./styles"

const Text:React.FC<TextProps> = ({ 
  children,
  className,
  size,
  type
}) => {
  return (
    <S.Container 
      className={className} 
      size={size} 
      type={type}>
      { children }
    </S.Container>
  ) 
}

export default Text