Created
October 28, 2021 19:24
-
-
Save sendbird-community/5d1c3e09da7d8fd4c9072088b6bf8a24 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { Card, CardContent, Typography, Avatar } from "@material-ui/core"; | |
export default function AdminMessage(props) { | |
const { message } = props; | |
return ( | |
<div className="admin-message"> | |
<Card> | |
<CardContent> | |
<Avatar alt="Us" src="https://mpng.subpng.com/20180402/rqq/kisspng-computer-icons-logo-symbol-clip-art-administrator-5ac2ab29825f65.316448641522707241534.jpg" /> | |
<Typography color="textSecondary">Admin message</Typography> | |
<Typography variant="body2" component="p"> | |
{message.message} | |
</Typography> | |
</CardContent> | |
</Card> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment