import React from 'react'; import { Container, Flex, Avatar, Row, PeopleIcon, Column, CompanyIcon, LocationIcon, EmailIcon, BlogIcon, } from './styles'; interface Props { username: string; name: string; avatarUrl: string; followers: number; following: number; company?: string; location?: string; email?: string; blog?: string; } const ProfileData: React.FC = ({ username, name, avatarUrl, followers, following, company, location, email, blog, }) => { return (

{name}

{username}

  • {followers} followers ยท
  • {following} following
  • {company && (
  • {company}
  • )} {location && (
  • {location}
  • )} {email && (
  • {email}
  • )} {blog && (
  • {blog}
  • )}
    ); }; export default ProfileData;