/** @format */ import PropTypes from "prop-types"; import Typography from "@mui/material/Typography"; import ButtonBase from "@mui/material/ButtonBase"; import Account from "mdi-material-ui/Account"; import "./avatar.module.scss"; export const AvatarCard = ({ userName, userId, userImageAvailable }) => { return (
{userImageAvailable ? (
) : (
)}
{userName}
); }; export const AvatarImage = ({ userId }) => { return (
); }; export const AvatarSideMenu = ({ userName }) => { return
; }; AvatarCard.propType = { userName: PropTypes.string.isRequired, userId: PropTypes.string.isRequired, userImageAvailable: PropTypes.bool.isRequired, }; AvatarImage.propType = { userId: PropTypes.string.isRequired, };