feat : comment feature
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
"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} />;
|
||||
}
|
||||
Reference in New Issue
Block a user