import type { AllowedMediaReferences } from "../renderer.js";
import { CommentMediaImage } from "./CommentMediaImage.js";
import { CommentMediaVideo } from "./CommentMediaVideo.js";
import { CommentMediaFile } from "./CommentMediaFile.js";
export function CommentMediaReference({
reference,
}: {
reference: AllowedMediaReferences;
}) {
switch (reference.type) {
case "video":
return (