import Avatar from '@mui/material/Avatar';
import Box from '@mui/material/Box';
import ButtonBase from '@mui/material/ButtonBase';
import ListItemText from '@mui/material/ListItemText';
import Rating from '@mui/material/Rating';
import Typography from '@mui/material/Typography';
import { Iconify } from 'src/components/iconify';
import type { IProductReview } from 'src/types/party-event';
import { fDate } from 'src/utils/format-time';
// ----------------------------------------------------------------------
type Props = {
review: IProductReview;
};
export function ProductReviewItem({ review }: Props) {
const renderInfo = () => (
);
const renderContent = () => (
{review.isPurchased && (
Verified purchase
)}
{review.comment}
{!!review.attachments?.length && (
{review.attachments.map((attachment) => (
))}
)}
123
34
);
return (
{renderInfo()}
{renderContent()}
);
}