You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
648 B

import React from "react";
// import Avatar from "@mui/material/Avatar";
export default function Comment({ comment }) {
return (
<div className="py-2.5 px-0 flex">
{/* <Avatar src={comment.imageUrl} style={{ width: 65, height: 65, marginLeft: 10 }} /> */}
<div className="flex flex-col">
<p className="leading-3 mb-4">
<strong>{comment.name}</strong> {comment.text}
</p>
<div className="flex justify-content-end align-items-center">
<button className="bg-transparent border-0 ml-5">پاسخ</button>
<span>{comment.date}</span>
</div>
</div>
</div>
);
}