import React, { FC } from 'react'; import { Avatar } from '~/components/common/Avatar'; import { Markdown } from '~/components/containers/Markdown'; import { Placeholder } from '~/components/placeholders/Placeholder'; import { ImagePresets } from '~/constants/urls'; import { IUser } from '~/types/auth'; import { formatText } from '~/utils/dom'; import styles from './styles.module.scss'; interface IProps { profile: IUser; isLoading: boolean; username: string; } const ProfilePageLeft: FC = ({ username, profile, isLoading }) => { return (
{isLoading ? : profile?.fullname}
{isLoading ? : `~${profile?.username}`}
); }; export { ProfilePageLeft };