blob: e50c383d4d68d75d62701d5f04d29ce786333e37 [file] [log] [blame]
import React from 'react'
import { Avatar } from '@mui/material'
import { PersonRounded } from '@mui/icons-material'
export default function ConversationAvatar(props) {
return <Avatar>
{props.displayName ? props.displayName[0].toUpperCase() : <PersonRounded />}
</Avatar>
}