import { VideoIcon } from "lucide-react"; export default function Grid({ images, isVideo, onImageSelected, }: { isVideo?: boolean; images: { thumb: string; full: string; url?: string }[]; onImageSelected: (url: string) => void; }) { return (
{images.map((_, i) => (
{isVideo && ( Preview )}
))}
); }