Skip to content

Email for professionals and teams

357 B
Raw Blame
import type { MessageAttachment } from "@/app/(dashboard)/inbox/[messageId]/types";

export interface MessageAttachmentViewerProps {
	attachment: MessageAttachment | null;
	messageId: string;
	onOpenChange: (open: boolean) => void;
	open: boolean;
}

export type AttachmentPreviewKind =
	| "audio"
	| "image"
	| "pdf"
	| "text"
	| "unsupported"
	| "video";