-
-
Save sendbird-community/9c896e72394ab8a5d86839b1589eaf20 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