import { FC } from 'react'; import { Avatar } from '~/components/common/Avatar'; import { Card } from '~/components/common/Card'; import { Placeholder } from '~/components/placeholders/Placeholder'; import { imagePresets } from '~/constants/urls'; import { IUser } from '~/types/auth'; import styles from './styles.module.scss'; interface Props { profile: IUser; isLoading: boolean; username: string; description: string; } const ProfilePageLeft: FC = ({ username, profile, description, isLoading, }) => { return (
{isLoading ? : profile?.fullname}
{isLoading ? : `~${profile?.username}`}
{description}
); }; export { ProfilePageLeft };