Files
buzz-sheet/components/comments/comment-image.tsx
T
gunshiz 5812d99715
CI / Verify (push) Successful in 2m30s
CI / Build immutable images and deploy (push) Successful in 3m9s
feat : comment feature
2026-10-08 01:40:08 +07:00

10 lines
407 B
TypeScript

"use client";
import type { CommentImage } from "@/lib/comments/types";
export function CommentImageView({ image, alt, className }: { image: CommentImage; alt: string; className?: string }) {
// Comment attachments load directly from the configured S3 public CDN.
// eslint-disable-next-line @next/next/no-img-element
return <img src={image.url} alt={alt} loading="lazy" className={className} />;
}