import { Avatar, Col, Row } from 'antd'; import React, { FC } from 'react'; import cn from 'classnames'; import { Follower } from '../../../../interfaces/follower'; import styles from './SingleFollower.module.scss'; export type SingleFollowerProps = { follower: Follower; }; export const SingleFollower: FC = ({ follower }) => (
{(follower.name || follower.username).charAt(0).toUpperCase()} {follower.name || follower.username.split('@', 2)[0]} {follower.username}
);