simon | 6b9ddfb | 2022-10-03 00:04:50 -0400 | [diff] [blame^] | 1 | import { Avatar, AvatarProps } from '@mui/material'; |
2 | |||||
3 | type ConversationAvatarProps = AvatarProps & { | ||||
4 | displayName?: string; | ||||
5 | }; | ||||
6 | export default function ConversationAvatar({ displayName, ...props }: ConversationAvatarProps) { | ||||
7 | return <Avatar {...props} alt={displayName} src="/broken" />; | ||||
8 | } |