Skip to content

Instantly share code, notes, and snippets.

@sendbird-community
Created December 29, 2021 22:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sendbird-community/9c896e72394ab8a5d86839b1589eaf20 to your computer and use it in GitHub Desktop.
Save sendbird-community/9c896e72394ab8a5d86839b1589eaf20 to your computer and use it in GitHub Desktop.
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