All files / src/components/blogs ProjectImageTab.tsx

100% Statements 1/1
100% Branches 0/0
100% Functions 1/1
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19                    3x                
import { Image as ImageIcon } from "lucide-react";
 
interface ProjectImageTabProps {
	proId: string;
	blogId: string;
	onInsertImage: (image: { url: string; alt: string }) => void;
	onClose: () => void;
}
 
export function ProjectImageTab({ proId: _proId, blogId: _blogId, onInsertImage: _onInsertImage, onClose: _onClose }: ProjectImageTabProps) {
	return (
		<div className="text-center py-12 text-foreground-muted">
			<ImageIcon className="h-12 w-12 mx-auto mb-3 text-foreground-subtle" />
			<p className="font-medium">Project photos are no longer available</p>
			<p className="text-sm mt-1">Use the Upload or Stock Photos tabs to add images.</p>
		</div>
	);
}